I need to write some data to text file on USB external drive.
Mounting USB stick in Android Things using ADB works fine:
In ADB shell:
All works only using superuser.
Any idea, how to mount USB stick in own app? No permissins to do this
Android Things is not rooted
Mounting USB stick in Android Things using ADB works fine:
In ADB shell:
B4X:
su
mkdir /mnt/usb
mount -t vfat -o rw /dev/block/sda1 /mnt/usb
All works only using superuser.
Any idea, how to mount USB stick in own app? No permissins to do this
Android Things is not rooted