我想使用json将数据列表从android发送到webservice [英] i want to send list of data from android to webservice using json

查看:206
本文介绍了我想使用json将数据列表从android发送到webservice的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Am New To Android,我有通过sqllite数据库中的json webservice插入的数据列表。然后我想使用json将这些数据列表从android发送给webservice ..请帮助我任何人..提前感谢..

解决方案





首先从Sqlite获取数据并将其存储在String中。将此字符串转换为JSON格式。 WebServicePOST方法用于使用HttpPost(Service_URL)方法与服务URL一起发送数据。为此使用RESTAPi Web服务。



关注这些链接很少

http://ramsandroid4all.blogspot.in/2013/12/restjson- web-service-example-in-android.html

http://www.vogella.com/tutorials/AndroidSQLite/article.html

http:// androidexample。 ?COM / Restful_Webservice_Call_And_Get_And_Parse_JSON_Data-_Android_Example / index.php的视图= article_discription&安培;援助= 101&安培; AAID = 123

Am New To Android, i have list of data which i was inserted through json webservice in sqllite database. then i want to send that list of data to webservice from android using json.. please help me anyone.. thanks in advance..

解决方案

Hi,

First Get data from Sqlite and Store it in String. Convert This String to JSON Format . WebService "POST" Method is used to send data along with Service URL using HttpPost(Service_URL) method. For this Use RESTAPi Webservice.

Follow Few these links
http://ramsandroid4all.blogspot.in/2013/12/restjson-web-service-example-in-android.html
http://www.vogella.com/tutorials/AndroidSQLite/article.html
http://androidexample.com/Restful_Webservice_Call_And_Get_And_Parse_JSON_Data-_Android_Example/index.php?view=article_discription&aid=101&aaid=123


这篇关于我想使用json将数据列表从android发送到webservice的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆