views:

522

answers:

2

I'm pretty new to Android and Java, though I've really been excited about what I've learned so far. I'm a little uncertain though on how to implement the Model layer.

I come from a background in PHP web applications with Zend Framework and the like. I'm used to having an ORM component, through which the Model maps to a database. I haven't really seen anything like this yet for Android, although it's possible I've just not looked hard enough.

Are there any good tutorials, articles, 3rd party libraries, etc. that specifically address setting up your Model layer for Android apps?

Thanks!

+1  A: 

Take a look at ActiveAndroid. It's an active record style Android ORM. Here's a sample project: https://www.activeandroid.com/help/sample-project/

Michael Pardo
+2  A: 

Just to add my $0.02 for posterity but another option for Android ORM is ORMLite. It uses native Android OS calls to support SQLite on Android and also has JDBC support for other database types.

Gray
Thanks Gray. I haven't checked this out yet but it sounds great.
Brian Lacy