[android-developers] Re: detecting application loss of screen control

2009-10-12 Thread David Bernstein
which is not the current forground Activity is a candidate to be killed by the OS if resources get tight. So each Activity that pauses needs to save its state so that when the end-user presses the back key it can restore itself and resume where it left off. -- RichardC On Oct 9, 6:22 pm, David

[android-developers] detecting application loss of screen control

2009-10-09 Thread David Bernstein
How can an application detect when it's lost control of the screen? The reason I ask is that my application has an appwidget whose visible state should be consistent with user actions within the application. In addition to the application exiting, I'd like to know when other applications take

[android-developers] Re: ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-10-01 Thread David Bernstein
Found the problem due to problem with release build scripts. Diagnosis: pilot error. DOH! On Sep 30, 6:33 pm, David Bernstein dbb.post...@gmail.com wrote: I have some code that starts another activity based on a menu item selection:     public boolean onOptionsItemSelected( MenuItem item

[android-developers] Re: ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-10-01 Thread David Bernstein
Found the problem due to problem with release build scripts. Diagnosis: pilot error. DOH! On Sep 30, 6:33 pm, David Bernstein dbb.post...@gmail.com wrote: I have some code that starts another activity based on a menu item selection:     public boolean onOptionsItemSelected( MenuItem item

[android-developers] Re: ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-10-01 Thread David Bernstein
Found the problem due to problem with release build scripts. Diagnosis: pilot error. DOH! On Sep 30, 6:33 pm, David Bernstein dbb.post...@gmail.com wrote: I have some code that starts another activity based on a menu item selection:     public boolean onOptionsItemSelected( MenuItem item

[android-developers] ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-09-30 Thread David Bernstein
I have some code that starts another activity based on a menu item selection: public boolean onOptionsItemSelected( MenuItem item ) { Log.d( TAG, onOptionsItemSelected(): entering... ); //... switch ( item.getItemId() ) { //... case