Achanta wrote:
But since I started trying to log everything to see the activity life
cycle, what I observed is that onStop method is not actually being
called when I click on home button.
:: blink, blink ::
Its being called as soon as i open
my app again, which is not how I wanted it to
it may be as simple as adding
android:clearTaskOnLaunch=true
in your Manifest under the main activity tag to re-initialize after
returning to Home screen.
intbt
On Feb 20, 4:54 am, Mark Murphy mmur...@commonsware.com wrote:
Achanta wrote:
But since I started trying to log everything to
I just tried it on an app I'm working on (Android 2.1), and onStop() was
called at the point I pressed the HOME button.
I am using Android 1.6 as I need to support all the phones which are
working on that version also. And in this version or atleast for my
situation its not working so.
Are
Thankyou,
I needed finishTaskonLaunch as that is more suitable than
clearTaskOnLaunch for my case as I need to close the activity itself
which I am opening in a separate task.
On Feb 20, 10:56 am, intbt in...@tacberry.com wrote:
it may be as simple as adding
android:clearTaskOnLaunch=true
Thank you Mark,
I do know that I can you onStop method as it is supposed to be called
when ever something else comes on to the screen (in this case the home
page). But my situation is a little more complicated than that.
I have an address field and an option for gps[if its switched on]. But
in
5 matches
Mail list logo