How to retrieve the GPS location via SMS

后端 未结 2 1068
眼角桃花
眼角桃花 2021-01-03 01:47

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

Now I want to make a method that helps me to retrieve the GPS location of my phone (latitude lo

相关标签:
2条回答
  • 2021-01-03 02:23

    Use the Geocoder class. Pass it's getFromLocation() method the longitude and latitude and the maximal number of results you want to get returned. You'll get a List of Address objects.

    0 讨论(0)
  • 2021-01-03 02:31

    this may help:

    "Capture" incoming SMS: http://www.codemobiles.com/forum/viewtopic.php?p=95

    Send SMS: http://www.anddev.org/how_to_send_sms-t552.html

    Edit: Dead link. I don't remember what exactly was in it, just like Google's cache and Internet Wayback Machine. Following link should have some info on topic:

    http://lamiaamb.wordpress.com/2012/03/19/android-capture-an-incoming-sms/

    0 讨论(0)
提交回复
热议问题