文件名称:android解析通过http返回的json数据 包括服务器json数据
文件大小:1019KB
文件格式:ZIP
更新时间:2016-05-13 07:52:10
json android htttp json
1. 例子代码有两部分:androidJson是andoird的工程,inxdex.php是php服务器json数据产生部分代码。 2. 服务器端提供http(get)获取方式获取json数据的api例子,是用php写的。 4. android的apk给你说完成http数据请求和json获取解析。 5. 把index.php部署到你的php服务器. 6. 修改MainActivity.java中的 final private String DATA_URL = "http://192.168.1.5/test/index.php"; 指向你部署好的index.php。
【文件预览】:
file
----androidJson()
--------.project(848B)
--------project.properties(563B)
--------src()
--------AndroidManifest.xml(961B)
--------res()
--------assets()
--------gen()
--------libs()
--------.classpath(364B)
--------proguard-project.txt(781B)
--------ic_launcher-web.png(50KB)
--------bin()
----index.php(208B)