Creating Web Service for Android Application

后端 未结 2 2041
隐瞒了意图╮
隐瞒了意图╮ 2020-12-24 08:55

I\'ve been reading some info about Web Services for Android using SOAP or REST but I\'ve never created a web service so I have many qu

2条回答
  •  无人及你
    2020-12-24 09:22

    Use SQL Server to manage the data on your desktop and create a web-service in .NET on Visual Studio.

    Then connect to the web-service in your application and set/get data from the DB, using web-services. You can use either XML or JSON to transfer your data between the phone and the server.

    There is no need for the use of Java Socket API for this.

    Links which might be useful :

    How to make a web-service in .NET (does not include the implementation in Android) : http://srikanthtechnologies.com/blog/dotnet/wsdaljava.aspx

    How to connect your service with Android :

    http://seesharpgears.blogspot.in/2010/11/basic-ksoap-android-tutorial.html

    http://www.codeproject.com/Articles/304302/Calling-Asp-Net-Webservice-ASMX-From-an-Android-Ap

    http://adrianandroid.blogspot.in/2012/05/access-c-net-web-service-in.html

    Note: I have never worked on RESTful services. My work has always been on SOAP and hence it remains my preference.

提交回复
热议问题