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? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -