Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Troubleshooting Guide Page 125

  • Download
  • Add to my manuals
  • Print
  • Page
    / 286
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 124
125
7: Creating connections
keepGoing = false;
}
break;
default:
//The connection failed for some other reason.
//Handle failed connection.
keepGoing = false;
break;
}
}
//Close the connection.
s.close();
}
catch (IOException e)
{
//Handle the exception.
}
Use HTTPS connections
Use socket connections
Although you can implement HTTP over a socket connection, you should use an HTTP connection for the following
reasons:
Socket connections do not support the BlackBerry® Mobile Data System™ features, such as push.
Task Steps
Before opening an HTTPS connection,
verify that the BlackBerry® device is
within a wireless coverage area.
>Use the CoverageInfo class and CoverageStatusListener interface of the
net.rim.device.api.system package to make sure that the BlackBerry device is in a
wireless coverage area.
Open an HTTPS connection. 1. Invoke Connector.open(), specifying HTTPS as the protocol.
2. Cast the returned object as an HttpsConnection object.
HttpsConnection stream = (HttpsConnection)Connector.open("https://
host:443/");
Specify the connection mode. > To open an HTTPS connection in end-to-end mode, add one of the following parameters to the
connection string that passes to
Connector.open():
Specify that an end-to-end HTTPS connection must be used from the BlackBerry device to
the target server:
EndToEndRequired.
Specify that an end-to-end HTTPS connection should be used from the BlackBerry device
to the target server. If the BlackBerry device does not support end-to-end TLS, and the
BlackBerry device user permits proxy TLS connections, then a proxy connection is used:
EndToEndDesired.
HttpsConnection stream = (HttpsConnection)Connector.open("https://
host:443/;EndToEndDesired");
Page view 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 285 286

Comments to this Manuals

No comments

Philips LFH0232 manuali

Manuali dei proprietari e guide per l'utente per Cuffie Philips LFH0232.
We fornisce 1 manuali pdf Philips LFH0232 per scaricare gratuitamente in base al tipo di documento: Scheda Tecnica






Più prodotti e manuali per Cuffie Philips

Modelli Tipo di Documento
SHL4000/28 Scheda Tecnica   Philips SHL4000, 2 pagine
SHE2100PK/28 Scheda Tecnica   Philips In-Ear Headphones SHE2100PK, 2 pagine
SHE3590WT/10 Scheda Tecnica   Philips In-Ear Headphones SHE3590WT, 2 pagine
SHS3213/28 Scheda Tecnica   Philips SHS3213, 2 pagine
SHS3212/28 Scheda Tecnica   Philips SHS3212, 2 pagine
SHE2000/10 Scheda Tecnica   Philips In-Ear Headphones SHE2000, 2 pagine
SHE2100PP/28 Scheda Tecnica   Philips In-Ear Headphones SHE2100PP, 2 pagine
SHL1700PP/28 Scheda Tecnica   Philips SHL1700PP, 2 pagine
SHL4500GY/00 Scheda Tecnica   Philips Headband headphones SHL4500GY, 2 pagine
LFH0233/00 Scheda Tecnica   Philips LFH0233, 2 pagine
SHO7205BK/10 Scheda Tecnica   Philips O'Neill THE CONSTRUCT headband headphones SHO7205BK, 2 pagine
SHE8000/28 Scheda Tecnica   Philips SHE8000, 2 pagine
SHL9700/10 Scheda Tecnica   Philips Headband headphones SHL9700, 2 pagine
SHE9000/28 Scheda Tecnica   Philips SHE9000, 3 pagine
SHL9300/98 Scheda Tecnica   Philips Headband headphones SHL9300, 2 pagine
SHS3211C/28 Scheda Tecnica   Philips SHS3211C, 2 pagine
SHS3210/28 Scheda Tecnica   Philips SHS3210, 2 pagine
SHE3590YL/10 Scheda Tecnica   Philips In-Ear Headphones SHE3590YL, 2 pagine
LFH0234 Scheda Tecnica   Philips LFH0234, 2 pagine
SHL1700PP/98 Scheda Tecnica   Philips Lightweight Headphones SHL1700PP, 2 pagine