I am creating an app that needs to be able to receive data at any time, without sending a request first. I could easily have the app send frequent requests to ask if there is an update, but I assume that would be battery-intensive. What is the simplest way I can have my server send data to my phone?
Share
This is called push-notifications. There are several solutions for this. One of them is Google’s C2DM. Another example is Urban Airship.
But note that push notifications are designed to only signal about the fact that new data is available. The actual data should be retrieved by client separately.