http://developer.android.com/reference/android/content/Intent.html#ACTION_SHUTDOWN
Never used it though so I can't say anything more about it. On Dec 4, 3:33 am, Zhihong GUO <gzhh...@gmail.com> wrote: > Hi All, > > My application want to know the device is to be power off, so that it can > send out the logout message to the server. > > How to do that? > > Thanks a lot. > > James -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en