beautypg.com

7 getunitinformation, Comments, Example – Casio Naurtech CETerm Ver.5.1 Web Browser Programming Manual User Manual

Page 23: Syntax

background image

N

AURTECH

W

EB

B

ROWSER

S

MART

C

LIENTS FOR

W

INDOWS

CE .NET / P

OCKET

PC




Web Browser Programming Guide

Page 23


Comments

This tag should be the first special META tag defined on the page, but not before
any JavaScript methods that may be invoked by the content. If this tag is not
specified, errors are reported via popup messages.

Example




content="javascript:MyErrorHandler(%s, %s);">


...

3.7 G

ET

U

NIT

I

NFORMATION

The GetUnitInformation tag reports device and client information to the host or
user.

Syntax

http-equiv="GetUnitInformation"
content="javascript:ReportInfo(%s, %s, %s);"

content="http://10.1.1.8/uinfo.htm?serial=%s&uuid=%s&version=%s"

The first “%s” is replaced by the device serial number, the second %s by the
Windows CE device UUID, and third “%s” by the Web Browser version.


Comments

This tag is supported for compatibility with other browsers. It is preferable to use
the “CETerm.GetProperty” method of the CEBrowseX control or the “external”
object (under CE .NET or 5.0 only).

Example



content="javascript:ReportInfo(%s, %s, %s);">