jasminb / megastoragemanager

Android application providing sync and data management tools for mega cloud storage
5 stars 2 forks source link

Upload only possible from a subset of the local filesystem #22

Closed ja02 closed 9 years ago

ja02 commented 9 years ago

When I press the Upload button on the Cloud tab, the file browser seems to start too high in the filesystem tree - probably /storage/sdcard0. This may make it impossible to choose e.g. /storage/sdcard1 (cannot test as my phone has no external SD card). Also, users with root may find this too restricting.

As a corrective action, I suggest to add a new item into Settings - the folder where the browsing starts, with the option to edit it manually. The default value could be /storage.

jasminb commented 9 years ago

Due to fact that android does not have standard approach to detect if device has a SD card, I've scrapped lots of tips and workarounds for this issue. Current logic will detect SD card correctly for most devices, but there are still vendors that handle SD in their specific way and its simply not possible to cover them all.

Start path is not something thats hard-coded but is rather a result of method that searches trough mounted storage devices on the phone/tablet.

ja02 commented 9 years ago

I see. MyBackup Pro suffers from the same problem on my mobile. They solved it the way that I suggest - the path can be edited both via the file browser and manually. When the default path is OK, the user can normally choose the resource (file / folder) in GUI. For the minority of other cases, there's the safety fallback - path can be edited in a text box (actually, you can even first specify some initial value there, e.g. / and then open that path in the file browser and continue the normal way in GUI). It shouldn't be that much extra development work. And you can still let the method, which searches through the mounted storage devices, determine the initial path.

ja02 commented 9 years ago

Alternative solution has been implemented in 2.1.0-test8.