Open
Conversation
…rate function - added functions to import/export history and star tables to external sqlite3 file
…itNavigationDrawer - lots of code just to add icons to the new import/export buttons :) - new functions for importing/exporting user data to storage using the android file picker and new functionality in DBManager
- success and error messages for import and export
Collaborator
Author
|
The last commit has nothing to do with the import/export feature. I just noticed that www.dharmaseed.org links were not being redirected to the app! This might explain some seemingly inconsistent behavior that we noticed in the past. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch adds functionality to import and export database tables with user data, which could be useful when migrating to a new device or to just have a backup. In particular, the data exported/imported includes:
Import and export are based on .sqlite3 files and use the android file picker, such that the app does not require additional storage access permissions. The following image illustrates the import process:

Imported tables are merged with existing tables in the app. For the "star" tables, this is a straight forward union. For the history table, conflicts are resolved by retaining the talk playback progress with the most recent access date.