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

2013-04-05 Thread RLScott
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 wrote: > Dilip Kumar Chaudhary wrote: > > I have to execute some code when app gets executed and app destr

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

2013-04-05 Thread skink
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* > Dili