
|
May 2005 |
|
|
Have you wondered how to programmatically access the root directory of a Memory Stick from the client side of a Sony Ericsson P910i? Would you like to access the root directory as easily as possible; for example to directly access photos taken with a digital camera that are stored in \DCIM\? For example, since the File Manager application is installed by default on a P910i, these directories can be accessed by selecting the folder "External - Other", so it is possible for third party developers to access these directories as well. The magic folder is \System\MSROOT\ and the case must match this exactly (so neither \system\MSROOT nor \System\msroot will work). The root of the memory stick will appear under it. So for example, you can access \DCIM as \System\MSROOT\DCIM. At the start of this application code sample, a Text ListBox is created with content filled by scanning:
![]() To build the MemStick example for the P910 smartphone use the following:
$ bldmake bldfiles
$ abld build thumb urel $ makesis MemStick.pkg More information about accessing files and folders can be found in the UIQ 2.1 SDK>>. Search for RFs, CFileMan, CFileSystem, CDir, CDirScan classes.
| |
Copyright © 2001 - 2009 Sony Ericsson Mobile Communications AB. All Rights Reserved.