Eminem
Eminem

Reputation: 7484

Can the android sqlite interface be used outside android

Android SDK seems to have a good wrapper interfaces in package android.database.sqlite, can this wrapper (jar?) be used in for example a ms windows environment?

Upvotes: 4

Views: 391

Answers (2)

CommonsWare
CommonsWare

Reputation: 1007584

There are too many dependencies between classes like SQLiteDatabase and the rest of Android. You can grab the source code for those classes, hack them apart, and use them, but there may be a fair amount of hacking involved.

Upvotes: 0

Chris
Chris

Reputation: 515

No, the java files for android will not work for windows, as the files are compiled to Dalvik bytecode instead of java bytecode.

Upvotes: 2

Related Questions