如何在服务器之间通过Android的获取JSONdata? [英] How to fetch JSONdata in server through Android?
本文介绍了如何在服务器之间通过Android的获取JSONdata?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一款新的Android application.I在服务器中的所有数据..
我怎样才能获取 JSONData code>通过Android的??
I am developing a new android application.I have all the data in server..
How I can fetch the JSONData
through android??
我很困惑也有HTTPGET,HttpClient的,HttpURLConnection类等。
从哪里得到我的全部教程?请帮我的先生。
I am confused there are HttpGet,HttpClient,HttpUrlConnection etc.. Where from I get the full tutorial??please help me sir..
推荐答案
我建议你用排球库机器人。它是由谷歌更快,更好的网络图书馆。使用凌空许多例子:
I suggest you to use "Volley" library for android .It is for faster and better networking library by Google . Many examples of using volley :
的http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/
这篇关于如何在服务器之间通过Android的获取JSONdata?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文