Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I format an SMS in order to send the GPS location? The recipient should be able to tap the text and open the coordinates with their favorite location software (e.g., Google Maps).

share|improve this question

As far as I know there is no standard for sending coordinates (such as a URI scheme like gps://[latitude],[longitude]), but you could use direct links to Google Maps. The format is[latitude],[longitude]. This enables most phones to create a link from the text, and the coordinates are easily available for copy/pasting to other apps as well.

share|improve this answer
Great answer, can't believe I didn't think of this! – Peanut Apr 18 '13 at 9:49

You can encode your location in message by using LocationManager and SmsManager.

Check out these questions:

share|improve this answer
We generally avoid programming questions (and answers) on this site, as it is off-topic. – Stephen Schrauger Nov 6 '13 at 13:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.