id element
Supported platforms
-
BlackBerry OS: 5.0 - 7.0 -
BlackBerry PlayBook OS: 2.0+ -
BlackBerry 10 OS
Syntax
<id>transport method</id>
Description
The <id> element specifies the type and
the order of the transport methods that you want to use for a BlackBerry
WebWorks application. This element is optional. If you specify more than one
transport method, the BlackBerry
device attempts to use the transport methods that you specify, in order. By default, if you do
not specify an <id> element, the connection manager
uses the following order:
- MDS: BlackBerry Enterprise Server
- BIS-B: BlackBerry Internet Service
- TCP_WIFI: Wi-Fi network
- TCP_CELLULAR: Direct TCP stack
- WAP2: WAP 2.0 gateway for a wireless service provider
- WAP: WAP 1.0 gateway for a wireless service provider
If you are using the Push Service, you must specify the BlackBerry Internet Service transport method.
Parent elements
Child elements
None
Occurrences
Zero or more
Example: Specifying transport methods
<rim:connection timeout="25000"> <id>MDS</id> <id>BIS-B</id> <id>TCP_WIFI</id> <id>TCP_CELLULAR</id> <id>WAP2</id> <id>WAP</id> </rim:connection>