One more thing:
FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I
don't want to use them because of effects on the battery.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Mon, Oct 10, 2011 at 10:02 AM, Pinheiro rui.c.pinhe...@gmail.com wrote:
One more thing:
FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I
don't want to use them because of effects on the battery.
Huh? Your effects on the battery are already there with what you're
trying
Hi!
Thanks for the answer.
FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I
Huh? Your effects on the battery are already there with what you're
Well, at least the screen is off and I don't have to make a screen
saver (don't know if LCD burn-in is still a problem?) ;-)
On Mon, Oct 10, 2011 at 10:22 AM, Pinheiro rui.c.pinhe...@gmail.com wrote:
specifically told Android not to turn the screen on, by using
PARTIAL_WAKE_LOCK.
I want it to turn off automatically until a message is received or
the user touches something.
As I said, reading the docs
Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK. As the
documentation states for ACQUIRE_CAUSES_WAKEUP:
Thanks but that doesn't solve my problem, I really, really want to
turn the screen off after some time of inactivity and turn it on only
after a message arrives or the user
Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK
Thanks but that doesn't solve my problem, I really, really want
to turn the screen off after some time of inactivity and turn it on
only after a message arrives or the user touches the screen or button.
Update: PARTIAL_WAKE_LOCK
On Mon, Oct 10, 2011 at 11:04 AM, Pinheiro rui.c.pinhe...@gmail.com wrote:
Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK. As the
documentation states for ACQUIRE_CAUSES_WAKEUP:
Thanks but that doesn't solve my problem, I really, really want to
turn the screen off after
7 matches
Mail list logo