This link: https://github.com/probertson/air-sqlite/blob/DB-copy-dev/src/com/probertson/data/DBCopier.as has an interesting class to do just that! Encrypt an unencrypted database: but I’m having difficulty with a few things:
You can find where the author, @probertson, suggested using his solution here!
Now I’ve got the following error:
Compiler Error:
Error #2044: Unhandled error:. text=Error #3125: Unable to open the database
Let me start by saying the source file works, since I’ve been using it (and the path) in another application.
The error arises in the call to attach the source db to the newly created db.
Any ideas?
Thanks for any help!
1 Answer