Skip to content

using sqlcipher database across multiple activities? #90

Closed
@silosnowdash

Description

@silosnowdash

Is this possible? I tried using the application context (instead of the activity context) for initializing the database, but regardless of which context I use, everytime that I move onto the second activity my SQLiteOpenHelper creates the tables all over again when it initializes... So the database isn't persisting between activities...

I haven't found anything on Google about using it across activities - does anyone know how this might be achieved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions