Nikita
Nikita

Reputation: 199

Send Data/Text from Web Application To Android

I am trying to communicate between a web application and an Android device in the following way:

I know of the HttpUrlConnection class and other useful classes but I am unsure how to use them successfully. Let's say I just need to send GPS coordinates from my application to the user logged into my website, and then click a button in my website to send a message to my app.

I'm looking for some recommendations of various technology/methods I should use to help me achieve this!

Thanks!

Upvotes: 1

Views: 1866

Answers (1)

Swayam
Swayam

Reputation: 16364

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.

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

Upvotes: 1

Related Questions