01-24-2013 12:08 PM
I am doing app for BlackBerry 10 (simulator).
How to get to the sd card?
var _sdcard:File = File.userDirectory.resolvePath( "/../sdcard2" )
var _sdcard:File = File.userDirectory.resolvePath( "/../sdcard" ) ?
Solved! Go to Solution.
02-06-2013 01:05 AM
Did you ever find out how to access the BB10 sdcard from AIR?
I understand that if using C++, you can access the sdcard mount point using
but I cannot find anything for AIR.
02-07-2013 12:42 PM
you can use this to access the sdcard root folder:
var _sdfolder:File = new File("/accounts/1000/removable/sdcard");
From there you can point to folders like documents, camera, etc...
03-11-2014 10:02 AM
Appologies for resurecting an old thread, but I just had to answer this one and this thread is one of the results for a search for this.
There is a native C method that returns the SD card path. See removablemedia_info_get_device_path().
03-11-2014 11:59 AM - edited 03-11-2014 12:37 PM
hi. if the SD card is Mode USB. it doesnt work.
//"file acces To SD card"
//"let you know to the user that is mode USB"