user1009889
user1009889

Reputation: 33

which kind of database to use with android app?

I am developing an android program for my university. I am confused about which database to use.

What I want is that when the user is connected to the internet the program will check for any updates in the backend database. If there is any, the program will sync it with Android device.

Let's assume that after while the user opens the program in place with no internet, the program will work just fine because the file is already in his mobile.

I chose Access and created .xml file and by the help of this site: XML resources in android. I learnt how to read it.

Actually this program is my senior project. I dont want the judges to ask me why didn't I use MySQL or SQLite.

Which database system should I use? Is Access the right database system to choose?

I want to do a program that looks just like Univ of Kent program.

Upvotes: 1

Views: 2483

Answers (2)

Suraj Kamble
Suraj Kamble

Reputation: 11

It depends upon your requirement. lets say you want to build something which handles and stores the data on your device locally then SQLite is a good option (you can use firebase as well).if you want to do some sort of calculation on you data on a remote server then firebase is a best choice . by using firebase you can store your data generated by your users and then if you want you can carry out some analytics as well.

i would prefer Firebase .

Upvotes: 0

fadisdh
fadisdh

Reputation: 602

Parsing XML could take time, also in XML you have no choice but to load the whole file. SQLite is fast, simple to use and very dynamic.

Android offers a very simple SQLite API. Androoid SQLite API

If you are interested in reading more about all the data storage types in Android visit this link

Upvotes: 2

Related Questions