4 questions from the last 7 days
0
votes
1
answer
56
views
Why does my WorkManager Work never have Internet connection when running in the background?
I am using WorkManager in my Android application to do some background work.
This work is primarily location tracking, but also using the Internet for HTTP POST requests to an API.
With the app ...
0
votes
1
answer
34
views
Android: Permission request runs into an infinite loop
Upon installing the app I request access to the mic (I'm aware of the recommendations, this is a quick-and-dirty version.) Here's the pertinent code:
override fun onResume() {
super.onResume()
...
0
votes
0
answers
15
views
app crashes using android.permission.FOREGROUND_SERVICE_LOCATION
I'm trying to build a flutter app to get the location every 2 seconds even when the app is minimised. I'm using the flutter_background_service: ^5.0.4 for the app to check location when minimised.
...
0
votes
1
answer
46
views
Sending key events (INJECT) in my Android app without root access
I'm working on an Android app that needs to send key events (simulate keyboard input) using the INJECT permission. However, when trying to do so, I receive an error indicating that my app doesn't have ...