Isn't that what the wakelock does?

On 9/16/2011 9:18 PM, Pinheiro wrote:
Hi!
I have an unusual problem: I've made an app that will be shown at an
exposition booth. What I need is a way to prevent the screen from
going off, i.e., the activity will be run forever (no battery problem,
it will always be powered).

I've tried to shortcut OnPause() to return instantly and not call
super.onPause() but that doesn't work. Is there any way to accomplish
this?

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to