Hi, I have developed an application,From where I would like to make the system sleep for which I tried the goToSleep(Long time); function of PowerManager to make it sleep.This is not working,BcoZ now in android 2.1 only system processes can Usethis function to make system sleep. Do any one knows anyway round to make the system to sleep.. either by calling any Interface or by genarating any key event(KeyEvent.KEYCODE_POWER (how to generate it) ) or any other way???
Thanks in advance... -- 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

