Write to USB Stick

Discussion in 'Android' started by Slock, Nov 17, 2014.

  1. Slock

    Slock New Member

    Joined:
    Nov 5, 2014
    Messages:
    8
    Likes Received:
    0
    Hi guys,

    I can't get the UDOO to see a large SD Card (always just sees 5 gigs) so I'm working around that with writing to a Thumbdrive. I'm running into some problems though. I see the drive fine, I can read files from it and I can use the Android's apps to write to it.

    But my personal application can't write to it. In my manifest file I have
    WRITE_EXTERNAL_STORAGE
    READ_EXTERNAL_STORAGE

    When I run, I can read from /mnt/udisk/ just fine, but when I write to it, I get "/mnt/udisk/Video.mp4: open failed: EACCES (Permission Denied).

    All my googling either comes up with Android doesn't support USB or add the WRITE_EXTERNAL_STORAGE flag.

    Any ideas?
     
  2. Slock

    Slock New Member

    Joined:
    Nov 5, 2014
    Messages:
    8
    Likes Received:
    0
  3. Slock

    Slock New Member

    Joined:
    Nov 5, 2014
    Messages:
    8
    Likes Received:
    0
  4. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    Wow, ok. Glad you found a solution and thank you to share that with us. I'm sure other users will benefit from that. ;)
     

Share This Page