|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActivity
com.eaesthetics.scaleapp.MainActivity
public class MainActivity
Constructor Summary | |
---|---|
MainActivity()
|
Method Summary | |
---|---|
void |
bindFinalData()
Called when final data button is clicked. |
void |
bindFiveGramAngle()
Called when the five gram tare angle button is clicked |
void |
bindInitialAngle()
Called when initial tare button is clicked. |
void |
calculateData()
Calculates mass based on data |
void |
debug()
Debug information |
void |
onAccuracyChanged(Sensor mSensor,
int accuracy)
Called when the accuracy of the device is changed. |
void |
onCreate(Bundle savedInstanceState)
Called when the activity is first created. |
void |
onDestroy()
Called when the activity is destroyed. |
void |
onPause()
Called when the activity is paused. |
void |
onResume()
Called when the activity is resumed. |
void |
onSensorChanged(SensorEvent event)
Called sensors are changed. |
void |
onStop()
Called when the activity is stopped. |
void |
setButtonClickListener()
Sets the click listeners of the buttons |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MainActivity()
Method Detail |
---|
public void onCreate(Bundle savedInstanceState)
savedInstanceState
- the saved instances from the devicepublic void onDestroy()
public void onPause()
public void onResume()
public void onSensorChanged(SensorEvent event)
public void onStop()
public void bindFinalData()
public void bindFiveGramAngle()
public void bindInitialAngle()
public void calculateData()
public void debug()
public void onAccuracyChanged(Sensor mSensor, int accuracy)
public void setButtonClickListener()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |