简体   繁体   中英

How to store/access a local sql database on Android via Java

I am currently developing an Android app in Eclipse with Java. I need to store some data. I could use XML, or CSV, but I would prefer to have some sort of database locally that I can query to with sql. If there is some type of editing interface would also be good.

A good example would be Microsoft Access, but obviously that would not work on Android. You know, just somewhere simple where i can store data locally. Nothing complicated. Ease-of-development would be very useful.

Is there anything like that in the Android world?

Data in android are usually stored in SQLite database. Personally I use OrmLite - it's well documented and works like a charm...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM