Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

No write permission to USB pendrive.

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41

No write permission to USB pendrive.

Posted at 9/4/2017 17:58:26      View:3118 | Replies:5        Print     [Copy Link] 1#
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();


Reply

Use props Report

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41
Posted at 9/5/2017 18:14:36      2#
isle Posted at 9/5/2017 14:42
android.permission.WRITE_MEDIA_STORAGE ??

already given the permission....
Reply

Use props Report

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41
Posted at 9/9/2017 19:33:44      3#
isle Posted at 9/6/2017 09:14
Android7.1 or  6.0?

android 6.0
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list