volkszaehler / app-android

Volkszaehler frontend for Android
GNU General Public License v3.0
12 stars 7 forks source link

backup & restore does not work #38

Closed git-olicat closed 6 years ago

git-olicat commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hi,

 

könnt ihr die Version mal versuchen? (alte ggfs. deinstallieren)

 

Danke

Sirko

Gesendet: Donnerstag, 14. Dezember 2017 um 16:27 Uhr Von: "P.M." notifications@github.com An: volkszaehler/app-android app-android@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: Re: [volkszaehler/app-android] backup & restore does not work (#38)

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

 

 

 

git-olicat commented 6 years ago

Hi Sirko,

könnt ihr die Version mal versuchen? (alte ggfs. deinstallieren) welche Version? Irgendwie fehlt mir da ein Link? ;-) Gruesse, Oliver

SirkoVZ commented 6 years ago

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

princemichi commented 6 years ago

Tested: Works. Thanks!