0

I have a thumb drive with videos on it and it is connected to my Android using a USB OTG cable. The File Manager app on my phone sees the USB storage device and I can click into it and see the folders and videos I need, but I cant figure out the correct path to load them from the USB device in app inventor.

I have tried this: file:///storage/usbdisk/MyCamera/RecentClips/front.mp4

when the file is in a folder on the USB drive like this: d:/MyCamera/RecentClips/front.mp4

but I get an error:

Error 107: unable to load

How do I access files on a USB drive in MIT App Inventor?

ThanhPhanLe
  • 1,315
  • 3
  • 14
  • 25
contractorwolf
  • 438
  • 1
  • 3
  • 14

1 Answers1

0

I don't know, if it is possible to access the files, but you could try the file extension and its AvailableStorageDirectories method to find out the path

enter image description here

Taifun
  • 6,165
  • 17
  • 60
  • 188