power button hitting onCreate

by scottrick49 » Fri, 23 Apr 2010 08:05:46 GMT


Sponsored Links
 In my application, if you press the power button on the phone, i am
seeing:

onPause
onDestroy
onCreate
onResume
onPause

getting called in that order; I can't figure out why the app is
getting created again and then re-paused.  Obviously I am doing
something incorrect, but I am not sure what.  Anybody seen anything
like this before?

--



power button hitting onCreate

by Dianne Hackborn » Fri, 23 Apr 2010 09:15:47 GMT


 When you turn off the device, the lock screen is displayed.  This typically
forces the display to a particular orientation.  If the screen is not
currently in that orientation, it will need to be changed, and the top
activity's configuration appropriately changed to match.




>


Sponsored Links


Other Threads

1. What changed need to made to add a font.ttf file ?

Hi ,

What changed need to made to add a font.ttf file ?

SKfontHost.cpp loadfonts() changes not reflecting in system/fonts/


Is their anything else to change ?

-- 

2. Casense update 1.1.1

Setelah nyoba hofo 307, 308, myhero 205 tetep ngerasa masih kurang cepet.
Akhirnya nandroid restore ke case 1.1 ditambah update 1.1.1 nnya yg udah nongol 
di threadnya casense.
Update baru ini udah enable swap, jadi saya pake swap 64mb, hasilnya.. gila 
kenceng amat ya hehehe
Ngetik juga nggak ada lag sama sekali, buka tutup email lancar tanpa lag, 
market ada ebuddy nya.


== android mail ==
--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. How to begin with android

4. Override Dock Launcher

5. Uncaught RuntimeExceptions in Services fail silently

6. how to run android market on emulator

7. baby monitor paling mahal :-)