开发者

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

开发者 https://www.devze.com 2023-03-16 12:32 出处:网络
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 s

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

精彩评论

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