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. Separate sim from the GSM module

Hi everybody,
For my final project in the uni I got this assignment and I have no
idea where to begin.
My goal is to be able to simulate sim from my computer to a cellular
GSM Module.
My module wont have a Sim stuck in it. Instead it will be connected
through UART to my computer.
I read many articales through the web (and maybe that's the reason why
I'm so confuse :) ).
I'll appriciate  brif explanation and a reference where to read and
learn more.
Both on the pysical harware and emulator code needed.
Examples will be great addition.
Thanks
Dave

--~--~---------~--~----~------------~-------~--~----~

2. Create a Registration Form

Hi , I have to do a registration form with these params

POST to the url " indirizzomyserver.xml"
 BODY user%5Blogin%5D=..........&user%5Bpassword%5D=..........&user
%5Bpasswordconfirm%5D=..........&user%5Bemail%5D=..........&

How to implements?


Low priority: my app parses xml and show list of item in Listview as
below
-------------------
Name
descripion
Image
-------------------
Name
descripion
Image
-------------------
Name.....



, an item of my xml is an url to an image how to diplay it in a little
size?


--~--~---------~--~----~------------~-------~--~----~

3. GUI Design - Are there standards for user interface design in Android?

4. cant start the phone

5. Google gadgets?

6. Unable to decode bitmap( null bitmap ) when using ksoap2

7. Screen Resolution/Size for Art...