开发者

How to use JSON to get data on website in android?

I have an application in android which is it will t开发者_开发技巧ake database on website. I already created HttpGet, HttpURLConnection, and HttpClient in my coding, is that enough? and how to start select data on my website database?


I recently just learned how to download and parse data (XML and JSON) from a website in android. I'd highly recommend reading this article

http://www.ibm.com/developerworks/xml/library/x-andbene1/

it's quite thorough and explains the concepts really well.


I would suggest looking at gson (Google's JSON library). It's really pretty easy to use, and reasonably well documented.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜