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?
精彩评论