Firefly Open Source Community

Title: No write permission to USB pendrive. [Print This Page]

Author: androidDev    Time: 9/4/2017 17:58
Title: No write permission to USB pendrive.
Hi,

I am connecting a usb pendrive to the rk-3399 board. I am able to read the files through an app but not able to create a directory in the connected usb pendrive.

The code i am using is :

File topLevelDestinationDir = new File("/storage/C32C-2A45/testDir");topLevelDestinationDir.mkdirs();



Author: isle    Time: 9/5/2017 14:42
android.permission.WRITE_MEDIA_STORAGE £¿£¿
Author: androidDev    Time: 9/5/2017 18:14
isle Posted at 9/5/2017 14:42
android.permission.WRITE_MEDIA_STORAGE £¿£¿

already given the permission....
Author: isle    Time: 9/6/2017 09:14
Android7.1 or  6.0?
Author: androidDev    Time: 9/9/2017 19:33
isle Posted at 9/6/2017 09:14
Android7.1 or  6.0?

android 6.0
Author: isle    Time: 9/11/2017 09:51
why would you try  the Andoid 7.1 ,the 6.0 will be abandoned soon.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1