Firefly Open Source Community

   Login   |   Register   |
New_Topic

No write permission to USB pendrive.

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
41
Posted at 9/4/2017 17:58:26     
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

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/5/2017 14:42:25     
android.permission.WRITE_MEDIA_STORAGE ??
Reply

Use props Report

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

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

already given the permission....
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/6/2017 09:14:18     
Android7.1 or  6.0?
Reply

Use props Report

41

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

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

android 6.0
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/11/2017 09:51:37     
why would you try  the Andoid 7.1 ,the 6.0 will be abandoned soon.
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