Android disable screen timeout while app is running -


is there way disable screensaver while app running?

the dimming of screen mean.

you want use this:

getwindow().addflags(windowmanager.layoutparams.flag_keep_screen_on); 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -