How I get Geo location in corona sdk?

0 votes
Hi,

I want to save/access the Latitude and Longitude to/from cloud.
asked Mar 26, 2014 in Discuss & suggest API by imtiyaz (45 points)

1 Answer

0 votes

You can use WarpClient.setGeo(geo) where geo represents the server location. For e.g. US, EU, JAPAN.

You have to yourself get the latitude and longitude from 3rd party GPS API and based on the location select a server.

answered Mar 26, 2014 by Suyash Mohan (900 points)
Thanks for your quick replied.
I want to store every players lat/long value and fetching back from cloud.
So how can i store that value.
please help....
You can use App42 storage API to store such information
Yes i am using App42 storage API for that but right now i am getting one problem on that.
I made one json table and stored at cloud.
After that i want to access that table but i have no idea to fetch that particular data from json. I called up the findDocByKey function but it giving the docid, dbname etc. how can i get the json table which i stored on that.
Thanks
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...