Android Question in-memory database

musaso

Member
Licensed User
I have created an in-memory database. I wanted to save it directly to a zip file (without saving to device).
I use ArchiverPlusZip from the fantastic ProBundle library by Informatix, which allows AddStreamToZip (InputStream, FileName) and I wanted to save the database in a stream.
it's possible?

B4X:
    Dim BdSin As SQL
    BdSin.Initialize("", ":memory:", True)
    'I fill in the data ......
 

musaso

Member
Licensed User
Why make it an in-memory database if you want to save it to a file? I don't think that it is possible.
What I want is not to have to save it in a file, but directly to the zip file (the database contains sensitive data).
 
Upvote 0
Top