Saturday, October 31, 2009

[android-developers] Re: Sleep mode

Anyone? If it can't be done in any other way, is there by any chance any way to emulate that the 'end call' button has been pressed? (I've tried with dispatchKeyEvent() to my own activity, but that didn't do anything.)

Thanks,
Anders Feder

2009/10/24 Anders Feder <anders.feder.83@gmail.com>
Hello,

Is it possible to programmaticly send the device into sleep mode (i.e. like when pressing the [end call] button once so screen the turns off and locks)?

Thanks in advance,
Anders Feder

--
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