Adding A Menu Option - Motorola CA50 Developer & User Manual

Table of Contents

Advertisement

I - 2
CA50/UCA Client & Server Developer & User Guide

Adding a Menu Option

In this example, the developer can provide an option to exit the UCAClient on the device and return to the
CA50 menu (shell). To accomplish this, the developer must add an additional menu in the profile.
To add a menu to the profile, use the following code structure:
<Menu ID="1" name="SalesMenu" title="Menu">
<entry ID="1" value="Applications:M:L:Applications"/>
<entry ID="2" value="WT Channels:M:L:SalesWTChannels"/>
<entry ID="3" value="PhoneBook:M:L:PhoneBook"/>
<entry ID="4" value="Parked calls:M:L:CallPick"/>
<entry ID="5" value="Key lock:S:L:KeyLock"/>
<entry ID="6" value="Do Not Disturb:S:L:QuietMode:Y"/>
<entry ID="7" value="Settings:M:L:Settings"/>
<entry ID="8" value="Log Off:S:L:LogOffConfirm"/>
<entry ID="9" value="Power Off:S:L:PowerOff"/>
<entry ID="10" value="About:S:L:About"/>
<entry ID="11" value="Exit:S:L:ExitClient"/>
</Menu>
<Menu ID="2" name="SalesAppMenu" title="Options">
<entry ID="1" value="WT Channels:M:L:SalesWTChannels"/>
<entry ID="2" value="PhoneBook:M:L:PhoneBook"/>
<entry ID="3" value="Parked calls:M:L:CallPick"/>
<entry ID="4" value="Do Not Disturb:S:L:QuietMode:Y"/>
<entry ID="5" value="Log Off:S:L:LogOffConfirm"/>
<entry ID="6" value="Exit:S:L:ExitClient"/>
</Menu>

Advertisement

Table of Contents
loading

Table of Contents