There is a great Android library that I would like to reuse for a desktop application.
The only Android-specific part in this library is the use of android.database.sqlite.
What is the best practice in such cases?
- Replace all calls to use a portable pure-Java SQLite package like SQLJet instead?
- Wrap some SQLite Java library in a
android.database.sqlite
and use the library without any modification? - Any other clever solution?