delphi - Remote push notifications on Android with RAD Studio XE6 using my own server -


I have to develop an application on Android that receives messages from my server in push mode, even if the app is closed. That's it, suppose we have 100 apps installed, these apps should receive a text message from my server. If the app is closed on Android, you should get a notification, then tap the notification, the application should show the entire message. I do not have any experience on bass services, so a small example "client / server"

To receive push messages without Google Cloud Messaging, you need a client application running continuously, or which has been launched at regular intervals (by Android Alarm Manager).

You can use any technique / protocol, for example, to apply HTTP (S), or STOMP client / server communication.

You can vote for long time with HTTP (S) or upgrade to WebSocket Connections.

One major disadvantage is that more resources (CPUs, batteries) will be consumed in comparison with these solutions, built-in Google Cloud Messaging.


Comments