开发者

Geocoding Requests problem?

开发者 https://www.devze.com 2023-04-08 14:45 出处:网络
http://code.google.com/apis/maps/documentation/geocoding/ I learned from here sending a request. First time when I am sending request it\'s fine I am receiving the responce. But when I am sending the

http://code.google.com/apis/maps/documentation/geocoding/ I learned from here sending a request. First time when I am sending request it's fine I am receiving the responce. But when I am sending the second requst the reponce is "REQUEST_DENIED" indicates that your request was denied, generally because of lack of a sensor parameter. What's that mean? Is there any w开发者_StackOverfloway that I can send requests and receive all responses?


If you develop for Android you should take a look at GeoCoder class. It presumably uses the same background service, but it's all nicely packed, so you do not need to bother with details.

One note: this is only available if the device is a "Google" device, i.e. if it has Market on it: Why is Android Geocoder throwing a "Service not Available" exception?

0

精彩评论

暂无评论...
验证码 换一张
取 消