Higher level database layer for Android?

前端 未结 12 1584
失恋的感觉
失恋的感觉 2020-12-13 04:51

Are there any good database abstraction layers/object relational mappers/ActiveRecord implementations/whatever they are called for Android? I\'m aware that db4o is officiall

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 05:15

    I faced the same problem and looked at both android-active-record and ActiveAndroid. I found android-active-record didn't handle the things I cared about (relationships for example), and ActiveAndroid isn't free. Therefore, I decided to write my own library. It's called AndroidRecord and it's hosted on GitHub and you're free to do with it what you want (I think I'm going to go with the MIT license). I use this every day and I'm content with it, but I'd love to get feedback.

    If you need to know how to use it, I'm working on the documentation. If you need it right away, you can check out this lame example project which should be enough to dip your toes in. You can also email me of course.

提交回复
热议问题