Android stay app active -



Android stay app active -

i remain android application active when working, , using flag_keep_screen_on flag purpose, don't want maintain screen on, because it's not economic battery. want utilize standard behavior - when user touch screen - he's lighting up, , after time of inactive turn off. how can this?

i suggest looking @ powermanager.wakelock, in particular powermanager.partial_wake_lock flag, maintain cpu running yet allow screen turn off. if take approach, create sure release wakelock when done it.

you can find out more here: http://developer.android.com/reference/android/os/powermanager.html

android

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -