Download Files To The Ca50 Device After User Login; Delete Downloaded Files; Adding User Information To The Http Header - Motorola CA50 Developer & User Manual

Table of Contents

Advertisement

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

Download Files to the CA50 Device After User Login

The UCAClient has the capability to download files from an HTTP server, to the CA50 device, at a point in time
after user login. A menu option can be provided to allow the user to download files any time.
Example
<Menu ID="4" name="Applications" title="Applns">
<entry ID="1" value="Download Files:S:L:DOWNLOADFILES"/>
<entry ID="3" value="Price Check:S:S:http://server.somecompany.com/Sample.aspx"/>
</Menu>
The Download Files menu option displays on the Application menu. When selected, files are downloaded onto
the CA50device.

Delete Downloaded Files

A menu option can be provided to allow the CA50 device user to delete all downloaded files in the folder
"\Application\Download\".
Example
<Menu ID="4" name="Applications" title="Applns">
<entry ID="1" value="Download Files:S:L:DOWNLOADFILES"/>
<entry ID="2" value="Delete Files:S:L:DELETEALLDOWNLOADEDFILES"/>
<entry ID="3" value="Price Check:S:S:http://server.somecompany.com/Sample.aspx"/>
</Menu>
The Delete Files menu option displays on the Application menu. When select, all files the
'\Application\Download\' directory are deleted.

Adding User Information to the HTTP Header

User ID, User Group and User Role information can be added to the HTTP header. All HTTP requests
originating from the UCAClient contain the information shown below in the HTTP header example. All
information is available only after user login.
Example HTTP Header
GET /Motorola/UCA/Samples/UCASampleApp/Sample.aspx HTTP/1.1
Accept: */*
IPAddress: 192.168.1.138
SerialNo: 8106000
MAC: 0015709BF1CC
PlatformInfo: SYMBOL WinCE
UserID: 1100
UserGroup: Bath
UserRole: Sales
User-Agent: htmlayout 3.2; Windows CE; UcaClient )
Host: symbol-rvf2jb1t
Connection: Keep-Alive
Cookie: ASP.NET_SessionId=3c20tt45zw34nw45mcs01a45

Advertisement

Table of Contents
loading

Table of Contents