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