All Questions
5 questions
1
vote
0
answers
106
views
How to track the removal of the application and send a notification?
There is a task to make it so that when an application is deleted from the phone, my application sends a notification: "application name" has been deleted.
I do it like this:
Manifest
<...
1
vote
0
answers
843
views
what is difference between setForeground and setForegroundAsync in kotlin
Hey I am working in WorkManager. My code is running in android 11 and below . I want to support WorkManager for sdk 31(android 12). I am reading doc and it confused for my scenario Backwards ...
0
votes
1
answer
72
views
How to stop all notifications and alarms if app is killed by swiping?
I want to cancel all of my notifications and alarms set in background as app is killed by swiping. This action will not trigger onDestroy() inside my root Activity.
I made a background service to ...
0
votes
1
answer
2k
views
Anndroid : How to send broadcast intent to service from notification action?
I'm trying to send a broadcast intent from within a notification action on Android but kind of lost here.
I have an android service that recieves broadcast intents from activities/frgaments and react ...
1
vote
1
answer
247
views
After reopening application, multiple instances of a service are created
I am trying to create an application to update a persistent notification even while the app is closed. Right now, I'm using a service that is started in MainActivity's onCreate():
serviceIntent = ...