Wednesday, April 13, 2011

Re: [android-developers] restart device from code

On 2011-04-13 13:12, Károly Holczhauser wrote:
> Is there any chance to restart the hole device from code ?!

Try this:

new AlertDialog.Builder(this)
.setMessage("Dear user, could you please restart?")
.show();

Anything else would be a bad idea even if it was possible.

Best / Jonas

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate