Did You tried this?
http://developer.android.com/reference/android/content/Intent.html#ACTION_SHUTDOWN
I also wonder is there shutdown event in 2.0 maybe?
I could save some service data to file, before shutdown.


On Mar 13, 9:20 am, James Wang <[email protected]> wrote:
I think Not unregisterReceiver is no harm to system because power
down.
I believe the foreground activity's onDestroy will be called. As for
others, there seems be no assurance.


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