Skip to content

Plain file storage #220

Closed
Closed

Description

@gitanat

It would be great to support plain file storage in the SD card, as an alternative to the SQLite database.

This would be useful for:

  • Automatic backups

  • Syncing through other apps (for those who don't want to use google tasks)

  • Note editing in external programs

    Issue Export/Import to SD card (internal) #184 is related, somewhat. What I mean here is native storage, not import/export.

Activity

  1. spacecowboy commented on Jan 4, 2013

    @spacecowboy
    Owner

    That would probably be problematic due to several reasons. First thing I can think of is speed. The SQLite database is fast, way faster than reading from files could ever be.

    It would also mean a serious redesign of the app itself as it is competely gear toward SQLite functionality, with JOINED queries and what not.

    In what way would a SD card backup service not be enough? If we imagine it not like a backup, but as a sync service. E.g, just like with Tasks, at regular intervals the app would check if the SD card version of the note had changed, and if so, read that in. And, when stuff gets changed in the DB, write that to the SD card also (which is how the new "sync on change" option works, but with google tasks)

    Would this not solve the use cases you have in mind?

  2. gitanat commented on Jan 7, 2013

    @gitanat
    Author

    Would this not solve the use cases you have in mind?

    Indeed it does. I was wondering if just maintaining a flat file database would be more efficient than having to periodically poll the SD, but if there's heavy reliance on SQL features, I guess there's no point to it.

  3. gitanat commented on Apr 11, 2014

    @gitanat
    Author

    Great news. Thank you for your efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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