Skip to content
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

backup & restore does not work #38

Closed
git-olicat opened this issue Dec 12, 2017 · 5 comments
Closed

backup & restore does not work #38

git-olicat opened this issue Dec 12, 2017 · 5 comments

Comments

@git-olicat
Copy link

Hi!

I'm unable to backup my settings in VolkszaehlerApp 0.9.6:

"Fehler beim Speichern der Einstellungen!"

Also I can not restore a backup from another smartphone:

"Fehler beim Wiederherstellen der Einstellungen!"

Probably the app does not find the right location for save&restore.

If I interpret the source correctly, the app tries to write to the external memory or to read from there.
But my smartphone has only internal memory!
Maybe it would be advisable to check beforehand if there is an external memory and if not, to use the internal memory? Or even make the storage path configurable?

It apparently affects the functions saveFile and loadFile in Tools.java.

BQ Aquaris X Pro
Android v7.1.1

Regards, Oliver

@princemichi
Copy link

Hello,
i have the same error at 0.9.6 with Samsung S8 but this works also not with 0.9.5!
Sorry had not the time to repot this in the past.
Thanks,
Michael

@SirkoVZ
Copy link
Contributor

SirkoVZ commented Dec 18, 2017 via email

@git-olicat
Copy link
Author

git-olicat commented Dec 18, 2017 via email

SirkoVZ added a commit to SirkoVZ/app-android that referenced this issue Dec 20, 2017
@SirkoVZ
Copy link
Contributor

SirkoVZ commented Dec 20, 2017

ab Android 6 muß die App explizit fragen, ob die Permissions erlaubt werden sollen. DAs ist jetzt drin, Backup und Restore sollten jetzt funktionieren.
https://github.com/volkszaehler/app-android/releases/latest

@SirkoVZ SirkoVZ closed this as completed Dec 20, 2017
@princemichi
Copy link

Tested: Works.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants