Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Sorry for being late. And I am posting my comment here because of comment length. _screen.isDirectTCP() isn't an API method, so I am not sure what does this method return. But from the method name/signature I think this method is only used for checking whether Direct TCP connectivity is available or not on the device. Depending on the result, the application will append the connection parameter such as ";deviceside=....". </p> <p>From the <a href="http://supportforums.blackberry.com/t5/Java-Development/Network-Transports/ta-p/482457" rel="nofollow">Network Transport</a> article, </p> <blockquote> <p>If you do not want your application to rely on the default connection types described in the previous sections, explicitly state the desired connection type by adding the “deviceside=” parameter to the destination URL. If an application appends “;deviceside=true” to the destination URL, then only a direct HTTP or TCP connection is attempted. The application does not attempt to connect to the network using the BlackBerry MDS. Alternatively, if an application appends “;deviceside=false” to the destination URL, then the application only attempts to connect to the network using the BlackBerry MDS. The application does not attempt to connect to the network using a public IP gateway.</p> </blockquote> <p>Also please have a look at this link, <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800451/800563/What_Is_-_Different_ways_to_make_an_HTTP_or_socket_connection.html?nodeid=826935&amp;vernum=0" rel="nofollow">What Is - Different ways to make an HTTP or socket connection</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload