prokli Active Member Licensed User Longtime User Apr 24, 2020 #1 Running the code shown next on my tablet (Android 9) the code works perfectly. After calling the function "hdd" keeps memory- and USB stick storage location B4X: Dim hdd As List Dim rp1 As RuntimePermissions Sub GetExtMemory() hdd = rp1.GetAllSafeDirsExternal("") End Sub But running this code on Raspberry I just get the memory location (SD card) OS is "LineageOS 16". May be this is an issue of this certain OS and does not depend of any permission?! I don't know. Last edited: Apr 24, 2020
Running the code shown next on my tablet (Android 9) the code works perfectly. After calling the function "hdd" keeps memory- and USB stick storage location B4X: Dim hdd As List Dim rp1 As RuntimePermissions Sub GetExtMemory() hdd = rp1.GetAllSafeDirsExternal("") End Sub But running this code on Raspberry I just get the memory location (SD card) OS is "LineageOS 16". May be this is an issue of this certain OS and does not depend of any permission?! I don't know.
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2020 #2 Try with ExternalStorage. Upvote 0
prokli Active Member Licensed User Longtime User Apr 26, 2020 #3 I tried to implement ExternalStoarge as demonstated here: https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content Entire example fails on RPi3 Upvote 0
I tried to implement ExternalStoarge as demonstated here: https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content Entire example fails on RPi3
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2020 #4 prokli said: Entire example fails on RPi3 Click to expand... This is not a useful statement. We cannot help you based on this information. Upvote 0
prokli said: Entire example fails on RPi3 Click to expand... This is not a useful statement. We cannot help you based on this information.
prokli Active Member Licensed User Longtime User Apr 27, 2020 #5 Okay, let me try to explain! I compiled and installed next program to the RPi3: https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content When I start the "ExternalStorage" app I get the picture shown next. Clicking on "Pick folder" opens the browser app which is provided by LineagOS as default app. Nothing else happens Attachments screenshot.jpg 302.3 KB · Views: 589 Upvote 0
Okay, let me try to explain! I compiled and installed next program to the RPi3: https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content When I start the "ExternalStorage" app I get the picture shown next. Clicking on "Pick folder" opens the browser app which is provided by LineagOS as default app. Nothing else happens
Erel B4X founder Staff member Licensed User Longtime User Apr 27, 2020 #6 Can you choose a folder with this app? Upvote 0
prokli Active Member Licensed User Longtime User Apr 27, 2020 #7 No, Erel! This is not possible. Does the device need root permission?? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 28, 2020 #8 It is not related to root permission. I guess that this feature is not implemented properly on the RPi3. Try to find the file path yourself and access it directly. It will not work on regular Android devices but might work here. Upvote 0
It is not related to root permission. I guess that this feature is not implemented properly on the RPi3. Try to find the file path yourself and access it directly. It will not work on regular Android devices but might work here.