python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Using Wakelock with Audio Service in flutter
I have a requirement to give the user the option to keep specific screen in the app awake so the screen will not be switched off automatically in order to give the user the time to read the content. a...
Ammar Al Zayer
Votes: 0
Answers: 0
With SCREEN_BRIGHT_WAKE_LOCK deprecated, how can I keep the screen on in Wear OS?
For my Wear OS watch face project, I was using the flag SCREEN_BRIGHT_WAKE_LOCK to acquire a wakelock that keeps the screen fully on for one minute (triggered by the user as needed). This flag has bee...
go3d
Votes: 0
Answers: 1
How to keep Android screen on after an action
I could have sworn there's a simple line of code for this, but I can't find it right now.
In my app I am using a piece of custom hardware for input. I receive events (on BLE) but not as keypresses or ...
Kibi
Votes: 0
Answers: 1
setExactAndAllowWhileIdle with Wakelock in Doze mode
It seems there are a few questions related to the subject topic but I haven't found a clear yes/no answer to this.
I have a foreground service that calls setExactAndAllowWhileIdle to start a Broadcast...
Xeno Xetric
Votes: 0
Answers: 2