You can use Google Cloud Messaging.
android: how to send notification from the server to the app
-
15-06-2023 - |
Pergunta
I want to send a notification vi web server to the app, actually I know how to use notification manager but i could not implement an activity or service that would listen if there any notification come from the web server . How could I do that ? thank you
Solução
Outras dicas
If you want a platform agnostic solution, you could also look at Parse Push. The API is very easy to implement in your app. https://parse.com/products/push
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow