Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created a asp.net website and with ms sql server 2012 database and now i want to send that data to android app. How can i do this. i searched on Google and found that this can be done by using web services but confuse in which type of web service? Json,Rest, WCF or anything else.
Posted

1 solution

Hi, Web services can be manily devided into two parts. "Big" Web Services and RESTful Web Services. You can read more about them here
.you can use either .asmx webservice, WCF or Restful Web service. And JSON is not a web service type. JSON standards for JavaScript Object Notation and it is a syntax for storing and exchanging data. Also you can use SOAP which is a XML based protocol for accessing web services.But i recommend to use JSON . Read some pros and cons between JSON and XML
Here are some tutorials about webservice with android
Step by Step Method to Access Webservice from Android[^]

http://androidexample.com/Dot_Net_Webservice_Call_-_Android_Example/index.php?view=article_discription&aid=100&aaid=122[^]

http://androidexample.com/Restful_Webservice_Call_And_Get_And_Parse_JSON_Data-_Android_Example/index.php?view=article_discription&aid=101&aaid=123[^]

http://programmerguru.com/android-tutorial/category/web-service/[^]
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900