Webservice for Android app

Asked

Viewed 430 times

2

I need to develop an application on the Android platform. For this, the application should be accessed through a Webservice. The question is: Can the tables in the database of my application, for user registration, etc., be made in MYSQL and hosted on a server and access this data by the application? How can different users keep information up to date? This way, I need to use Sqlite as well?

  • Yes, no problem. Only one database can be used on the server side, one client side bank, or both together.

2 answers

1


The tables of the database of my application, for registration of user, etc., can be made in MYSQL and hosted on a server and access this data by the application?

Yes, they can do it in Mysql. In fact the database used for data storage and access on the server side is indifferent; and the decision of choice between a "brand" and another varies according to the need of the project.

That way, I need to use Sqlite as well?

It depends. If you think about developing some mechanism to cache the captured data from the server, Sqlite can be very useful.

How different users can keep information up to date?

This question is hardly difficult to answer because it is a bit wide. It depends on your business rules. If your system was a voting system, for example, users would keep their data up to date as they cast their vote. Then you could get real-time information about who was winning the vote.

0

Data generation can be done by the application and saved on a Mysql, PHP, APS, Java server, whatever.

You can even save this data so you don’t have to make requests to the server every time you need them, but how you need to keep them up to date, so do one job :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.