I’m working on an Android app that has to store data in a database.
This database also has to be accessed by an iPhone app and a web application.
I would like to use Mysql for this, because it’s open source.
I was looking for some information on this and apparently I need to make a webservice
that connects to a database. Probably in php, but I don’t have any experience with php…
How do I write this webservice and where do I store it? Where do I make and store the database? …
Can anyone help me on this issue?
tnx
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