Re: [android-kernel] Re: Screen timed out in power manager.

2011-08-18 Thread Pratik Prajapati
Yes, I agree. Anyways, Sincerely thanks for this solution. It helped a lot. 2011/8/16 Hemanth(ヘマント) > Hi, > > I think we are straying out of bounds for this group, but anyway.. > > >I have implemented timer and timertask in PowerManagerService. > As far as I know, you don't need to change an

[android-kernel] Re: Screen timed out in power manager.

2011-08-16 Thread ヘマント
Hi, I think we are straying out of bounds for this group, but anyway.. >I have implemented timer and timertask in PowerManagerService. As far as I know, you don't need to change anything in the framework to get this to work. You can try something like: http://www.mensus.net/phone/toggle.shtml

Re: [android-kernel] Re: Screen timed out in power manager.

2011-08-12 Thread Pratik Prajapati
Hi, Thank you for this great input. I have implemented some state machine as per my requirements. Everything works fine, except one. I want to put device on sleep mode as soon as my timer goes off. I have implemented timer and timertask in PowerManagerService. I'm calling gotoSleep() method or P

[android-kernel] Re: Screen timed out in power manager.

2011-08-11 Thread ヘマント
Hi, The settings app updates the settings database with the timeout value selected by the user. See: http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_OFF_TIMEOUT This value is read by PowerManagerService.java http://www.netmite.com/android/mydroid/frameworks/bas