Skip to content Skip to sidebar Skip to footer

Android - What Should I Use To Get Data From Remote Db?

I'm working on an Android app that uses data stored in a remote database. I'm now working with Parse.com for my data storage but I might change to mysql. What structure should I us

Solution 1:

In general if you want your Android application to interact with remote database you have to develop a webservice that has all the methods that you want to use in your android app like insert,select,update and delete, and here is a good tutorial to start with.Click Here Please Also you can use JDBC driver library for SQL Server which allow you to connect to a database directly without using database Click here please

Solution 2:

Web service for simple data sounds like killing fly with a bazooka. Ever heard of REST? With REST you only use http protocol and http methods (GET, PUT, POST...) to manipulate data. You need to deal with authentication ofc but it's not a big deal too. And if your data are super secret, you can always use https.

Post a Comment for "Android - What Should I Use To Get Data From Remote Db?"