I need to send a file to an Android application from my server. I have the user’s IP address saved in a database from the last time he was online.
Does Android have something like listener over the internet so I can send a request (from myserver with the IP) to check if is it the user I am looking for or if the IP has changed?
You may want to look into the Android Cloud to Device Messaging Framework. You could use this to tell your app on the Android device that there’s new content to fetch from the server, for example.