[android-developers] Re: problems using SCREEN_DIM_WAKE_LOCK

2010-02-10 Thread guich
Hi Sean, Thanks for your help. However, the SCREEN_BRIGHTNESS doesn't work. Digging into old messages, there's a IHardwareService interface, but i can't even use it since its already removed. Seems that i'm lost... thx guich -- You received this message because you are subscribed to the

[android-developers] Re: problems using SCREEN_DIM_WAKE_LOCK

2010-02-10 Thread nikhil
use setKeepScreenOn method instead of wakelock On Feb 10, 11:03 am, guich guiha...@gmail.com wrote: Hi Sean, Thanks for your help. However, the SCREEN_BRIGHTNESS doesn't work. Digging into old messages, there's a IHardwareService interface, but i can't even use it since its already removed.

[android-developers] Re: problems using SCREEN_DIM_WAKE_LOCK

2010-02-09 Thread guich
Thanks! Not so obvious to me. :-) Where can i see the permissions that have to be set in order to get access to a feature? I couldn't find anything in the documentation. Well, now the lock works, but the screen is still BRIGHT! I'm using a G2. Maybe this doesn't work in a G2? greetings,

Re: [android-developers] Re: problems using SCREEN_DIM_WAKE_LOCK

2010-02-09 Thread Sean Hodges
You need this permission: uses-permission android:name=android.permission.WAKE_LOCK / Be sure to have a read up on the permissions framework, it's pretty fundamental to Android development. http://developer.android.com/intl/fr/guide/topics/security/security.html#permissions SCREEN_DIM_WAKE_LOCK