I do not know much about REST servers notifications, so how can I get server's notification\event on my Android app? One way I can suppose is send request to server and wait until response which is delayed, but this decision seems me wrong. Any suggestions? Thanks.
Asked
Active
Viewed 1,123 times
0
-
that also depends on what the server supports, does it support push notifications or are you able to only poll it – EpicPandaForce Jul 11 '14 at 11:00
-
@Zhuinden I have small free test ASP.NET server on http://myasp.net – Konstantin Konopko Jul 11 '14 at 11:06
-
have you tried looking into https://docs.pushbullet.com/ or http://stackoverflow.com/questions/11261718/gcm-push-notification-with-asp-net – EpicPandaForce Jul 11 '14 at 11:08
1 Answers
1
You have all the documentation in Android developers.
One way to do what you want is called Push Notifications and is doing throw Google Cloud Messaging (GCM).
It involves using Google APIs, to code some classes in your Android App, and to code other stuff in your server part.
By the end, you should be able to send a simple message to a device and show a notification.

jDur
- 1,481
- 9
- 10