Issue
Can we fetch gps location of one android device and show it in another android device? Kindly give suggestions and sample code. Need to know whether gps data can be posted from an android device.
Solution
Yes, its entirely possible.
Steps:
1) Get GPS Location
2) POST to Server somewhere using JSON/XML or 2nd device if you have its IP Address
3) 2nd Device Polls Server or uses GCM (Google Cloud Messaging) to get the Location off the server
4) Display Location on 2nd device.
Answered By - SonicWind
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.