A Abílio Magalhães Member Licensed User Longtime User Jul 26, 2016 #1 Hello, My app works fine with all external microSD cards, writing on almost all tablets. Now I have 2 clients with problems. One is a Lenovo TAB2-A10-30, with Android 5.1.1. and MicroSD card is not present on /mnt The microSD is at /storage/sdcard1 Bu when I try to write it gives error. I cannot root the tablet and I really need to write to SDCard. Can you give me an ideia about the problem? Kind regards, Abilio
Hello, My app works fine with all external microSD cards, writing on almost all tablets. Now I have 2 clients with problems. One is a Lenovo TAB2-A10-30, with Android 5.1.1. and MicroSD card is not present on /mnt The microSD is at /storage/sdcard1 Bu when I try to write it gives error. I cannot root the tablet and I really need to write to SDCard. Can you give me an ideia about the problem? Kind regards, Abilio
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2016 #2 You should use RuntimePermissions.GetAllSafeDirsExternal to find the path of the accessible folder: https://www.b4x.com/android/help/runtimepermissions.html#runtimepermissions_getallsafedirsexternal Upvote 0
You should use RuntimePermissions.GetAllSafeDirsExternal to find the path of the accessible folder: https://www.b4x.com/android/help/runtimepermissions.html#runtimepermissions_getallsafedirsexternal
A Abílio Magalhães Member Licensed User Longtime User Jul 26, 2016 #3 Hi, I've tried and app still reporting only 1 card when call GetAllSafeDirsExternal. I've read about different group on permissions but no conclusion. What could be wrong? Many thanks for you help Abilio Upvote 0
Hi, I've tried and app still reporting only 1 card when call GetAllSafeDirsExternal. I've read about different group on permissions but no conclusion. What could be wrong? Many thanks for you help Abilio
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2016 #4 Abílio Magalhães said: I've tried and app still reporting only 1 card when call GetAllSafeDirsExternal. I've read about different group on permissions but no conclusion. Click to expand... Assuming that you are running it on Android 4.4+ then it is not related to any permission. If this method only returns one path then there is no other accessible storage. Upvote 0
Abílio Magalhães said: I've tried and app still reporting only 1 card when call GetAllSafeDirsExternal. I've read about different group on permissions but no conclusion. Click to expand... Assuming that you are running it on Android 4.4+ then it is not related to any permission. If this method only returns one path then there is no other accessible storage.