Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which database to use with android application

I am developing an android mobile application using eclipse. I need a database that resides on a desktop computer. I need to save and retrieve information to and from the database to the mobile application. I will be storing details such as login details, registration and location of user. SQLite will not be appropriate for this since the database created will only be accessible by itself. Can I use SQL server for this? I am new to android and I am not sure what database to use and how to save and retrieve information to and from the database to the mobile application. Please help.

like image 452
Sindu_ Avatar asked Aug 01 '26 02:08

Sindu_


1 Answers

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.

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

Links on 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

like image 95
Swayam Avatar answered Aug 02 '26 17:08

Swayam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!