开发者

Sending an XML format data to google map from android

开发者 https://www.devze.com 2023-02-02 16:50 出处:网络
i want to send my MapView geolocation and user data from my android to a website using Google maps. How can 开发者_如何学Goi send my data in an XML file to my server? or is there other ways better th

i want to send my MapView geolocation and user data from my android to a website using Google maps.

How can 开发者_如何学Goi send my data in an XML file to my server? or is there other ways better than sending it?


I use a JSON object and send the string e.g. : {"lon":-4253447,"lat":55864243} and then parse it back into a JSON object.


Maybe I have a brainfreeze because it's sunday, but why would you want to send an XML file? Why not just send your value pairs using POST or GET?

0

精彩评论

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