Monday, December 27, 2010

Re: [android-developers] How to simulate power off key

Only if you modify the firmware, or possibly root your phone. Normal
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate