Singh
Singh

Reputation: 141

How to integrate ORMLite with android

I am not creating any database in android. We just copy and paste the database from assets:

getmyapplicationContext.getAssets().open(DB_NAME);

How we can integrate ORMLite with our App?

Upvotes: 1

Views: 1047

Answers (1)

damienix
damienix

Reputation: 6763

It's no difference if you're creating database with ORMLite or use existing one. Moreover usually you create it only once, and then work on existing one.

So you should probably use:

and create ORM schema classes that correspond to all your database tables. There you can also configure correct path to your existing database file.

Good luck ;)

Upvotes: 1

Related Questions