How to get GPS location via SMS

I made an application that gives me the location of my Android phone.

Now I want to create a method that will help me get the GPS coordinates of my phone (latitude longitude or address, if possible) using SMS.

Example: phone number 558899. I send SMS with "get location" to 558899 to receive a message with coordinates.

+5
source share
2 answers

Geocoder. getFromLocation() , . List Address.

+1

All Articles