Timothy Frisch
Timothy Frisch

Reputation: 2809

How to lock an android screen on whilst app running?

What should I implement to ensure my screen is always on whilst my app is running?

Upvotes: -1

Views: 42

Answers (1)

Timothy Frisch
Timothy Frisch

Reputation: 2809

Use wakelock, a documentation on wakelocking can be found in the following link.

http://developer.android.com/reference/android/os/PowerManager.WakeLock.html

Upvotes: 0

Related Questions