contactsdemo | A demo and contacts | Learning library
kandi X-RAY | contactsdemo Summary
kandi X-RAY | contactsdemo Summary
A demo and contacts app
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of contactsdemo
contactsdemo Key Features
contactsdemo Examples and Code Snippets
Community Discussions
Trending Discussions on contactsdemo
QUESTION
I am trying to enable encryption for SQLite database using SQLCipher. Below is my DBHelper and MainActivity code. With this am able create the db and application is also working fine in the emulator. But when i exported the db file and tried to run under DB browser for SQLite am get an error message which is ** Could not open the file Reason: File is not a database file ** . Can anyone please help me on this ? Thanks in advance..
** DBHelper.java***
...ANSWER
Answered 2019-Aug-21 at 14:05What version of SQLCipher are you using? This can be determined by using PRAGMA cipher_version
What version of DB Browser for SQLite are you using? You'll want to use the latest release: https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.11.2 which supports opening both SQLCipher 3 + 4 databases.
Once you determine which version of SQLCipher you're using, and ensure you're using the correct version of DB Browser for SQLite, select the correct corresponding SQLCipher version default encryption settings from the prompt:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install contactsdemo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page