Hi Mike,
My question is very specific. Suppose an application say messaging is
running on my device. At that time If I power off my phone, how do I
know that the running app exit gracefully.
I was looking into all the app code and found that in some cases
(means in the onDestroy() call in some apps) unregisterReceiver(..) is
not done. Is it a mistake ? or there is any meaning behind not calling
this function.

Thanks

On Mar 10, 9:18 pm, Mike dg <[email protected]> wrote:
> I don't think that waiting until shutdown to do anything is a great
> idea. You have no control over the speed of the shutdown or anyway to
> disable it.
>
> -Mike dg
>
> On Mar 10, 7:25 am,Kabita<[email protected]> wrote:
>
>
>
> > Hi,
> > Is there any procedure how to check all the apps getting closed
> > gracefully during the shutdown scenario? Anybody has any idea please
> > share.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to