Android Question SQLCipher 1.2 and SQLCipher 1.3 in same app

Rusty

Well-Known Member
Licensed User
Longtime User
I have many pre-Android 6 tablets and cellphones out in the field.
I've deployed several 6+ tablets and phones.
I need to support all of them (hopefully) with the same application version.
Can one:
  1. Determine the OS version
  2. Based upon the version,
  3. Open a V1.2 Cipher database, if old OS version
  4. Open a V1.3 Cipher database, if new OS version
Any ideas are appreciated.
Rusty
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
I'm getting:
An error occurred
The given key wasn't present in the dictionary
When I try to load the source...
any further ideas?
Rusty
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
...I had to completely reinstall B4a V6.80...
I sure don't know what happened there...
Thanks for all your help.
Rusty
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
The compiler (IDE) will now load where it wouldn't until I reinstalled.
The
#If UseSQLCipher12
#AdditionalJar: sqlcipher_native12
#Else
#AdditionalJar: sqlcipher_native
#End If
Doesn't work. :(

I guess I have to maintain two separate versions of the code, one for the old Cipher version and another for the New...
Thanks again for all of your efforts...any new ideas will still be appreciated.
Regards,
Rusty
 
Upvote 0
Top