helloworld1 / AnyMemo

Advanced Spaced Repetition flashcard learning software for Android.
http://www.anymemo.org
GNU General Public License v2.0
151 stars 53 forks source link

Problem with accessing database on real sdcard #423

Open tomikmar opened 7 years ago

tomikmar commented 7 years ago

After updating system I cannot access database on sdcard.

Steps to reproduce:

The message is correct, but it also means that it is not possible to access database on my sdcard. My rights are like this:

  /storage/             drwxr-xr-x  5 root root
  /storage/emulated     drwx--x--x  6 root sdcard_rw (here is missing "r")
  /storage/emulated/0   drwxrwx--x 43 root sdcard_rw

Maybe allowing to provide path manually (e.g. "Open path" and "Open default directory " in menu) could be a solution.

Versions:

helloworld1 commented 7 years ago

Can you just click "anymemo" folder now to access your cards? I tried to repo by clicking ".." several times, I gets stuck on "/storage/emulated/0". But I can still click on "anymemo" folder.

tomikmar commented 7 years ago

I wasn't precise in my previous post. By sdcard I meant real sdcard, not "emulated" one. I need to go to:

helloworld1 commented 7 years ago

Ok, I think AnyMemo should handle the failure case so you will still be able to navigate around. I will fix this issue.

tomikmar commented 7 years ago

Maybe just adding to AnyMemo options last path (with possibility to change) or default path (which would be used instead of last path if provided) would be quicker to implement. It is not a perfect solution, but it would solve the problem as well.

helloworld1 commented 7 years ago

Yes, I will try out a solution that is easy to implement and handle the case gracefully.