Re: [android-developers] Re: how to know if the device is to be powered off
I think this is possibly more about graceful client disconnect, gone away type scenarios should be handled by other methods. On 4 Dec 2009 20:16, jotobjects jotobje...@gmail.com wrote: Or drops it in the swimming pool. Or the Server crashes. We could go on... On Dec 4, 12:07 pm, Dianne Hackborn hack...@android.com wrote: Or just pull out the battery! T... On Fri, Dec 4, 2009 at 11:48 AM, jotobjects jotobje...@gmail.com wrote: Ultimately it is not... android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en... hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private suppo... -- 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
Re: [android-developers] Re: how to know if the device is to be powered off
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.comandroid-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
Re: [android-developers] Re: how to know if the device is to be powered off
I don't think it is not good design. For example, a presence status updating can be done by such design. 2009/12/5 jotobjects jotobje...@gmail.com 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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