I used

Runtime run = Runtime.getRuntime();
run.exec("reboot");

to reboot the device. but i am failed.

On 11月22日, 下午11时03分, forrestxu <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> Please help me to solve the problem listed as below:
>
> how can i reboot the device or lock the device using sdk?
>
> Many thanks,
> Forrest
--~--~---------~--~----~------------~-------~--~----~
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