问题
I am making an app in App Inventor that requires location of the user. However, sometimes location is shown as longitude=0, latitude=0 and No address is available. I don't know why it's working at some locations and not at all the locations.
Get Altitude in App Inventor
I have tried the suggestions given in the above link, but no use.
Finally, I have decided to get the coordinates from the map. For that I have tried the instructions given in the below link.
How do I let the user choose a location in Google Maps and return the chosen point to my App Inventor application?
Here, although I got the API, I don't know where to insert that key. I also don't have any source from the HTML page mentioned by user Taifun. Could any one please help me.
Many thanks in advance!来源:https://stackoverflow.com/questions/31223547/cannot-get-the-coordinates-of-location-using-app-inventor