Or just pull out the battery! This probably happens more than you would think.
On Fri, Dec 4, 2009 at 11:48 AM, jotobjects <jotobje...@gmail.com> wrote: > Ultimately it is not a good design to require log off. What if the > user goes into a building where there is no reception and it is not > possible to contact the server? > > On Dec 4, 12: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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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