-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Export / import #9
Comments
I also experienced this, I've generated some flash cards and put them into the sqlite database exported by Gambit, but it doesn't seem to be selectable. Is there a workaround to get Gambit to recognize the modified file as acceptable? Edit: I suspect this is because of this: https://github.com/ming13/gambit/blob/master/src/main/java/ru/ming13/gambit/backup/BackupFilePicker.java#L33 I'm in the process of figuring out a simple way to set the mimetype manually when re uploading to google drive. (The mimetype is being changed during reupload) Edit 2: Success! Using https://github.com/prasmussen/gdrive |
Your guess is correct. Backups have a specific MIME to protect the application from importing not supported files. It’s great that there is API for setting MIME manually, so you can use it as you please. One important notice though—I cannot guarantee that this manual DB changing will not break the app. Theoretically nothing can go wrong if you don’t change the DB scheme, but anyway. |
Артур, здравствуйте. У меня возникла проблема с экспортом в облако. Я буду Вам очень благодарен, если есть возможность исправить. К сожалению сам я только начал изучать Питон и совсем не разбираюсь в Яве. У меня андроид 10. Вообще уже мечтаю сам такую программу написать, но я ещё не добрался до андроида. Пользуюсь Вашими карточками давно, очень доволен. Есть идеи по программе, некоторые просто необходимы, если Вы хотите написать ещё, с удовольствием поделюсь, мне легче. Буду ждать обратной связи. Геннадий |
I opened exported file with a sqlite editor and saved back to drive but in app they are unselectable.
The text was updated successfully, but these errors were encountered: