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:3320 | Replies:5        Print      Only Author   [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

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/5/2017 14:42:25        Only Author  2#
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        Only Author  3#
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        Only Author  4#
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        Only Author  5#
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        Only Author  6#
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