Im searching for good free sql database that can help me to develop my application. Im only need simple tables like username and password and get the data with android studio.
-
Are you looking for an online database ? – Jayesh Elamgodil May 21 '15 at 15:53
-
Yes im looking for online database – user4925513 May 21 '15 at 16:00
3 Answers
Android has SQLite built in, you can read more about the library here: http://developer.android.com/reference/android/database/sqlite/package-summary.html
There are also a number of tutorials available as it's a commonly used tool.

- 571
- 2
- 13
-
Thanks but im looking for something online that can update from network – user4925513 May 21 '15 at 16:00
I think https://parse.com/ can be used for setting up an online database. It has a user-friendly android API for fetching data.

- 1,467
- 11
- 15
SQLite is the Android built it database. This will save your data locally in the phone.
If you want to access a database in a server so all the devices connect to that database and share information among them, then you can choose MySQL for example. Though I have not used MySQL JDBC driver within an Android app you have a detailed question about it here: Android : Is JDBC supported in Android devices?
If you may relax the pure SQL requirement and dive into NoSQL databases, you may consider MongoDB (which I did use within an Android app). You may even use the services from http://mongolab.com and have your database hosted there.

- 1
- 1

- 809
- 5
- 19
-
Security warning: you'd better think twice before hardcoding the database credentials within your app. – Ramón Gil Moreno May 21 '15 at 16:06
-
-
I have not used free MySQL hosting, but a quick search in Google will point you to solutions as http://haphost.com/free-mysql-hosting/ . If you end up willing to pay, you might look at https://cloud.google.com/sql – Ramón Gil Moreno May 21 '15 at 23:55