Sending data from Android to a PHP server
问题 I am having an application in android and I want to send the latitude and longitude of the android mobile to the web PHP server through a url ( like=..mydata.php?lat=76867&long=87979 ). I am having the php code that saves the data in database if this url is hit. All I am not getting is that how to send the latitude and longitude through my android mobile phone to the PHP server. 回答1: Building upon @DarkXphenomenon answer, make sure you have the right permissions. // to retrieve location <uses