Is there a way to let the screen always on?

admin

Administrator
Staff member
My customer want a screen-saver for android, I use the

<ol>
<li>KeyguardManager </li>
<li>Intent.ACTION_SCREEN_OFF</li>
<li>
Ref: <a href="http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/" rel="nofollow">http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/</a></li>
</ol>

When the Intent.ACTION_SCREEN_OFF received, my activity really started. but the screen is off, so I can not see nothing, What I really want is the sreen-saver UI will show on screen.

Is there a way to control the screen on/off programmtically?