当前位置: 动力学知识库 > 问答 > 编程问答 >

java - what database can i use for android application

问题描述:

I am trying to make application to android . I need very small database which users can add rows to the db and get rows. I need database that will stay on the web and i will execute SQL queries. What is the best free web host database that i cant use ?

网友答案:

surely MySQL is the best choice. It works fine with Java/PHP web applications, and is free & is reliable

网友答案:

MySQL is free database and can support good amount of data. You will end up writing a service on top of MySQL database for insertions and retrieval of data from your app. I think now a days most of hosting providers giving you mysql as free if you host a domain with them (Which you need anyways if you want to keep data with you unless you are doing self hosting).

网友答案:

Sqlite is your boy, sits locally http://www.androidhive.info/2011/11/android-sqlite-database-tutorial/

网友答案:

Another option for a relational db is PostgreSQL
Some people are worried that Oracle will make MySQL closed source.

网友答案:

The SQLite is more common used. Also, you can use db4o or HanDBase.

分享给朋友:
您可能感兴趣的文章:
随机阅读: