Reputation: 18079
I want use ORM with ORMLite.
But, the example show how use JDBC driver, I want use SQLite native Android driver, how I can do with this ? It's possible ?
Can you show me just an example how get the equivalent of
ConnectionSource connectionSource = new JdbcConnectionSource(databaseUrl);
With SQLite. All samples I've found use DatabaseHandler and I don't understood how to use with ORM.
Thanks for your help, will be usefull, sure.
Upvotes: 0
Views: 380
Reputation: 116918
Wow. So the docs are covered with references to Android. For example, if you had read the 1.4 section of the manual which I think you are quoting in your post, it says:
NOTE: Android users should see the Android specific documentation later in the manual. See section Using With Android. There are also complete code examples that can be used. See section Example Code.
If you do a google search for ORMLite android
it takes you to this page entitled:
If you did a search for ormlite android examples
it would have shown you my Android examples page.
Upvotes: 1