Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
2 answers
95 views

I'm relatively new to Android programming, and I was trying to create an app with a Foreground Service (I'm targeting API 31 or higher) which uses Location and Sensors. I've implemented both ...
loore's user avatar
  • 1
0 votes
0 answers
221 views

Could not determine the dependencies of task ':wakelock_plus:generateReleaseLintModel'. > Could not resolve all dependencies for configuration ':wakelock_plus:releaseUnitTestRuntimeClasspath'. > ...
0 votes
0 answers
24 views

I'm working on an app whose main task is to send location data. I've found that using a callback with FusedLocationProviderClient and a foreground service works perfectly, regardless of the time ...
0 votes
0 answers
29 views

Is there a way to enable wake lock in Buildfire or a similar solution to keep the screen from dimming/turning off while a plugin is open? I've tried using the WakeLock API as well as playing looped ...
0 votes
0 answers
85 views

I'm using the Wake Lock API in my Vue.js PWA to prevent the screen from going to sleep. I request the wake lock with: wakelock = navigator.wakeLock.request('screen'); Later, I release the wake lock ...
0 votes
1 answer
695 views

I'm building an alarm app for Android and I'm trying to launch a full-screen intent from a notification when the alarm rings while the phone is locked (as the documentation suggests). It works without ...
2 votes
2 answers
2k views

I want to enable wake lock API. It is working fine with Windows platform and android devices but not in Safari or iOS devices. Console has error NotAllowed, Permission was denied in Safari Browser. I ...
1 vote
1 answer
565 views

I found many discussions regarding this error, but I am not able to fix it. I have a flutter project, building to Android and iOS. I just upgraded from 3.7.10 to 3.19.0 and are upgrading the pubspec ...
2 votes
1 answer
693 views

Is there a way to turn on android screen when received push notification from FCM or somewhere else? I want it will turn on even if the app is in background, and even if the app is killed. In addition,...
0 votes
2 answers
119 views

I am developing a library that should work every minute. Sometimes this library doesn't wake at given time. It wakes after a delay. Example timestamps are like this: 12:00:00:250 12:01:00:250 12:02:00:...
0 votes
1 answer
52 views

I want to keep screen on while show trusted tabs. I was override the WebViewFallbackActivity class and inject this code but it's not working: PowerManager powerManager = (PowerManager) ...
0 votes
1 answer
109 views

I want to start a timer (i think in this case CountDownTimer) as soon as I get a specific wakelock. Once the countdown timer finishes, i want to display an alert dialog. When the wakelock is released, ...
3 votes
1 answer
2k views

So I have been trying to run my flutter app but I keep getting errors upon errors. When I ran flutter run, this is what I got Launching lib\main.dart on M2102J20SG in debug mode... FAILURE: Build ...
0 votes
1 answer
801 views

So I am trying to make an app that needs to use some networking stuff while running in the background. (From a thread cause you can't otherwise and cause it's in the background) But when I lock the ...
0 votes
0 answers
297 views

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

15 30 50 per page
1
2 3 4 5
...
36

AltStyle によって変換されたページ (->オリジナル) /