Previous Home Next
Syntax:
Status = FSCommand2 ("GetBatteryLevel")
Return value:
When this function is not supported, 1 is returned, when it is supported, battery remaining capacity is returned at numerical value.
GetMaxBatteryLevel ()
The GetMaC$batteryLevel () function returns the maximum battery capacity of the U10. The value which is returned is correct
numerical value.
This function is executed, when it is called, directly. When the GetMaC$batteryLevel ( function is not supported, 1 is returned.
Syntax:
Status = FSCommand2 ("GetMaxBatteryLevel")
Return value:
When this function is not supported, -1 is returned, when it is supported, maximum capacity of the battery is returned at numerical
value.
GetPowerSource ()
The GetPowerSource () function, presently, power source is supplied from somewhere, whether (the battery whether external
power source) returns the value which is shown.
This function is executed, when it is called, directly. When the GetPowerSource ( function is not supported, 1 is returned.
Syntax:
Status = FSCommand2 ("GetPowerSource")
Return value:
When this function is not supported, -1 is returned. In addition, when the U10, it is operational with battery power source, 0,
when it is operational with external power source, 1 is returned.
ID of device and
The command which is explained in this section, offers the ID information of the U10 to the Flash contents on the U10.
GetDevice ()
The GetDevice () function identifies the device where the Flash is executed. Name of the device is returned with the variable which
is transferred with name. The ID of the device is the character string.
This function is executed, when it is called, directly. When the GetDevice ( function is not supported, 1 is returned.
Syntax:
Status = FSCommand2 ("GetDevice " and " device ", " /: MyVarValue")
Return value:
When this function is not supported, When 1, it is supported, 0 is returned. As for value, /: It is housed in the myVarValue as the
character string.
6th chapter
Resource and support
The case where the Flash contents are developed in the one for U10, in order for anyone to be able to utilize, it is important to be
prepared, to utilize all resources. The Web sight, making use of the book, the tutorial, the article, and the discussion group, the
other user please raise knowledge and share that knowledge.
Web resource
Macromedia Flash Lite 1.1 concerning details, please refer to the Web sight below.
Macromedia Mobile & device developer center (English edition)
Www.macromedia.com/devnet/devices/
Flash device Flash development resource for Mobile device (English edition)
Www.flashdevices.net
Flash the Future Developer sight of Flash for various devices (English edition)
Komentarze do niniejszej Instrukcji