Copyfiles; Storage - Motorola MC75A Integrator Manual

Enterprise digital assistant
Hide thumbs Also See for MC75A:
Table of Contents

Advertisement

4 - 8
MC75A Enterprise Digital Assistant Integrator Guide
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= "fileystem">
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

Storage

Mobile 6 contains three types of file storage:
Random Access Memory (RAM)
Persistent Storage
Application folder.
<characteristic type= "Copy">
<parm name= "Source" value= "\Application\example.txt" translation= "filesystem"/>
</characteristic>

Advertisement

Table of Contents
loading

Table of Contents