12-31-2013 12:44 PM
I wish browse USB mass storage. So I need to detect device and mount point.
BlackBerry 10 OS mounts USB devices in : /accounts/1000/removable/
So in using QFileSystemWatcher, I'm extect to receive a notification as a mount point is created. But it doesn't work.
How can I be notified as a USB storage devices is connected and find the mount point ?
01-06-2014 02:49 PM
Are there any errors in the log? Have a look at this thread: http://supportforums.blackberry.com/t5/Native-Deve
03-02-2014 09:25 PM
I'm having trouble detecting a directory change outside of the /accounts/1000 space.
I want to watch a directory in the /usr directory.
Is this allow or are we limited to the /accounts/1000 folder?
03-03-2014 10:12 AM
AFAIK any directory you have read access to you should be able to watch...
What are you trying to watch, and what's the result you're seeing?
03-03-2014 10:42 AM
I want to detect the new mount points as a USB mass storage device is plugged.
The BlackBerry OS create a new folder in the "removable" folder ; then mount the device. Just need to be notified and need to know the new mount point.
03-03-2014 10:44 AM
Is it not reporting anything?
While foregrounded - you could have a 1s timer to check the existence / children...
03-03-2014 10:54 AM
Timer ? Bad solution. And in this case I need to determine if it's a USB folder or other.
In the same way, we don't have got api to know the SD card mount point. So the path is hardcoded
03-03-2014 01:41 PM
I've asked the dev team if this class is expected to work.
(I see in a parallel thread Martin has commented on this issue too)