Hi All,
I want to encrypt sqlitedatabase in android so I thought of using
SQLcipher guardian project.
I referred the following link
https://guardianproject.info/code/sqlcipher/
The link says---
Update the import path from android.database.sqlite.* to
info.guardianproject.database.sqlite.* in any source files that
reference it. The original android.database.Cursor can still be used
unchanged.
If you change import from android.database.sqlite to
info.guardianproject.database.sqlite.* means all the classes present
in the android.database.sqlite must be present in the package
info.guardianproject.database.sqlite.
But after checking the jar, I found some classes are missing in the
info.guardianproject.database.sqlite which are as follows--
SQLiteAccessPermException
SQLiteBindOrColumnIndexOutOfRangeException
SQLiteBlobTooBigException
SQLiteCantOpenDatabaseException
SQLiteDatabaseLockedException
SQLiteDatatypeMismatchExceptionSQLiteTableLockedException
Wont it give me problem if I want to use missing classes- ??????
2)Second thing is --->
SQLiteCursor cursor =(SQLiteCursor)sqldb.rawQuery((String)params[1],
strArgs);
When I use above casting,the code works fine with native android code.
But when I use info.guardianproject.database.sqlite classes, I get
"Class cast exception"
Please reply.
Thanks & Regards,
A Sayyad