Reputation: 14306
Is that possible to make an android app await for incoming requests. Maybe my terminology is bad, but I need something like a server on android. Instead of sending requests to the server on and on to check if a status on the server changed, I want the server to send this information directly to my android app. I heard it's possible, but couldn't google it, maybe I used bad phrases...
Any help appreciated
Upvotes: 0
Views: 51
Reputation: 4094
A Google advised way to do it is use Google Cloud Messaging for Android:
Google Cloud Messaging for Android (GCM) is a service that allows you to send data from your server to your users' Android-powered device.
Try to look to Push / Pull notification.
Related SO thread
Upvotes: 1