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. Passing data from camera to application

Hi,
I am developing one new camera application, that will not use existing
camera framework at all.
So, then how to render data from camera to the display ???
Is VideoView is feasible to display data ??
If yes, then how to pass raw data( or yuv/rgb data) to VideoView ??

Mohan

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. <Wta> about 3g dogwatcher..

Guys mau nny donk ko 3g dogwatcher saia dr kemaren o,o% trus y usagenya
crnya gimana biar kedetect usage yg uda dipake...
Mhon pencerahannya

-- 
=========================
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. System Calls in Android

4. Get supported media types ( programatically)

5. Menu Item Name

6. Live coverage of Google's Android phone announcement ( 10:00 PST - 18:00 GMT )

7. How to downgrade T-Mobile G1 from Donut to Cupcake?