Copyfiles; Storage - Symbol MC909X Integrator Manual

Hide thumbs Also See for MC909X:
Table of Contents

Advertisement

The following example uses XML provisioning to perform the same task:
SampleReg.xml
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Hardware\DeviceMap\Backlight">
<parm name="BacklightIntensity" value="54" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

CopyFiles

CopyFiles copies files from one folder to another on a clean boot. During a clean boot CopyFiles looks for files
with a .CPY extension in the root of the Application FFS partition. These files are text files containing the
source and destination for the desired files to copy, separated by ">".
The following example uses CopyFiles to copy a file from the \Application folder to the \Windows folder:
SampleCpy.cpy
\Application\example.txt > \Windows\example.txt
The following example uses XML provisioning to perform the same task:
SampleCpy.xml
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="\Windows" translation="filesystem">
<characteristic type="MakeDir"/>
<characteristic type="example.txt" translation="filesystem">
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

Storage

Windows Mobile 5.0 contains three types of file storage:
Random Access Memory (RAM)
Persistent Storage
<characteristic type="Copy">
<parm name="Source" value="\Application\example.txt" translation="filesystem"/>
</characteristic>
Application Deployment for Mobile 5.0
8 - 9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents