All Questions
4 questions
0
votes
0
answers
30
views
ForegroundApp Checker returns null after an hour of running through service :
I am using the below code which works fine till an hour afterwards it returns foreground app package name null
AndroidManifest.xml :
<uses-permission android:name="android.permission.GET_TASKS&...
1
vote
0
answers
157
views
Is there any possible solution to detect when Android OS kill background Service?
I'm working on android based application and facing a problem on VIVO Y15s [Funtouch OS 12 Global] that this device kill background service/task automatically after 5 to 6 minutes. and there is no ...
2
votes
1
answer
335
views
Taking screenshot in a Background Service
I am trying to make a bubble app that takes screenshot of other apps.
I found this project link with a media projection sample but the images are not been saved to the device.
is there a way i can ...
7
votes
1
answer
1k
views
How to keep service running in background in Android O?
I need to keep a service running in background. This service is used to keep a Socket.IO/MQTT connection. In versions previous to Android O there were no problem keeping the service alive, but in ...