[android-developers] Low Battery Warning

2009-09-15 Thread wacamoe
Hey guys, I've been trying to find the best way to do this, and am running into some trouble due to lack of documentation. I'm trying to detect a low battery on Activity startup. If the battery is low, then I want to display a popup that will not allow the application to launch, basically killi

[android-developers] Static Variables after Application life cycle

2009-04-01 Thread wacamoe
Hello all, I have noticed in my application(s) that after a call to Activity.finish() that the static variables that I declared in my classes still hold the values that they were changed to during the activity's life cycle. Upon the re-launch of the activity, the program does not re-instantiate

[android-developers] Static Variable Instantiation

2009-04-01 Thread wacamoe
Hello all, I have noticed in my application(s) that after a call to Activity.finish() that the static variables that I declared in my classes still hold the values that they were changed to during the activity's life cycle. Upon the re-launch of the activity, the program does not re-instantiate

[android-developers] Static Variable after Application life cycle.

2009-04-01 Thread wacamoe
Hello all, I have noticed in my application(s) that after a call to Activity.finish() that the static variables that I declared in my classes still hold the values that they were changed to during the activity's life cycle. Upon the re-launch of the activity, the program does not re-instantiate