 <p>Getting location from Android device go through this :</p> <p><a href="http://stackoverflow.com/questions/12286152/get-current-location-during-app-launch/12286444#12286444">Get current location during app launch</a></p> <p><strong>Process Initiated from device :</strong> now you have coordinates now in you application so what you can do on launching of a web make an AsyncTask to hit the webservice passing these longitude and latitude and get the corresponding message as response.</p> <p><strong>Process Initiated from server:</strong> for that you need to implement a GCM push functionality in your application what server needs to do it will push a message to device and after getting the push do the same thing as mentioned in process initiated from device.</p>