You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
Activity
spacecowboy commentedon Jan 4, 2013
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?
gitanat commentedon Jan 7, 2013
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.
spacecowboy commentedon Apr 11, 2014
This is now a thing. See https://github.com/spacecowboy/NotePad/releases/tag/5.3-beta
gitanat commentedon Apr 11, 2014
Great news. Thank you for your efforts!