You can save the database in the internal storage. It will only be accessible to your application (on unrooted devices).
For stronger encryption you will need to encrypt the data itself. You can use the agraham's Encryption library: Basic4android - Encryption
However you should consider what to do with the password. If it is stored as a string in your code then a hacker can find it and decrypt your database.
I'm not sure about your use case, but if it is possible it is usually recommended to ask the user to supply the password.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.