Friday, April 5, 2013

[android-developers] Re: How to execute some code on app launch and destroy

onCreate for the app's main activity can be called multiple times
throughout the lifetime of the app, and onDestroy might not be called
at all under some conditions.

On Apr 5, 6:20 am, skink <psk...@gmail.com> wrote:
> Dilip Kumar Chaudhary wrote:
> > I have to execute some code when app gets executed and app destroy too.so i
> > wanna know is there is any way through i can manage this.After google I got
> > Application class but this class has not destroy() so how can be recognise.
>
> > --
> > *Thanks & Regards*
> > Dilip Kumar Chaudhary
> > My Linkedin Profile<http://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b>
> > My Development Blog <http://dilipdevelopment.blogspot.com/>
>
> whats wrong wirh onCreate and onPause/onDestroy of your main activity?
>
> pskink

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment