SDK applications cannot power off the phone.
On Mon, Dec 27, 2010 at 12:16 PM, Daddym85 <davidemulfari@gmail.com> wrote:
> I have a Samsung Galaxy S with Android 2.2. In order to power off the
> phone, I must press and hold the power off key. I would like to
> simulate this action from a Java code. Can I do it?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
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
No comments:
Post a Comment