Friday, April 5, 2013

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

Apps do not get destroyed.

Do not structure the logic of your app around it being destroyed, this
is not the way apps work. Your app can be killed and restarted around
the system.

Explain why you want this functionality, it might be possible to
explain why it doesn't make sense.

Kris

On Fri, Apr 5, 2013 at 5:49 AM, Dilip Kumar Chaudhary
<androiddilip78@gmail.com> 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
> My Development Blog
>
> --
> --
> 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.
>
>

--
--
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