Java DB / Apache Derby with Android
Can I integrate Java DB or Apache Derby in my Android application? Or any inline or embedded database. Can anyone suggest code for it? I need some code because i have to make examples, not in theory.
Anyone knows if this databases is supported or not?
I开发者_运维问答 thinks these are the inMobile DB, but i didn't find any related information in Google.
Sorry, Derby does not work in Android. See this issue for some more details: https://issues.apache.org/jira/browse/DERBY-4458
Android includes SQLite, so this is normal choice.
There is an embedded Java database that supports the Android platform: the H2 database. However, support for Android is relatively new, and you probably shouldn't use it, unlike you really need features that SQLite doesn't support.
精彩评论