Hello,
how can I get a icon notification (near the clock) is my app is closed?
how can I get a icon notification (near the clock) is my app is closed?
But, if the app has not been started before?You could send the notification in Activity_Paused
Uff, so you notification bar is not very usefulIf the app has not started before then no code has been run. Therefore it is not possible.
Why is not very useful? it is in fact VERY useful.
Do you expect many people to install your app and never load it?
When an app is installed, the android system posts a notification it's self telling you the app is installed. You click the notification and it loads your app.
Then, when your app is closed, YOUR notification will show. IF it is coded to do so...
so, how?