My app is set LCD always on but it loses too much power, I want to dim or turn off LCD light(no sleep or lock) after 50 seconds of inactivity.
I tried some solutions but no one cant cures my problem.
I just want it on one activity, not others.
Please help me with any class or method that I can use for this
Edited:
My main problem:
I want to use hard key of an android device when it locked.
So now tell me,How can i use a hard key as a click in my app when screen locked???
Edit:
i have a device with 5 hard key and i want use them when device locked down.