|
The wireless network connection utilized by a BlackBerry smartphone is what makes the majority of mobile applications useful. Unfortunately, a developer building a network-connected mobile application cannot simply open a connection to any server; it is more complicated than that. There are different paths an application can use to reach a server, and the developer has to understand which connection to use depending on the situation. While a developer can develop BlackBerry applications without knowing about all of the connectivity options available to BlackBerry smartphones, it’s likely they will make decisions differently once they know what’s available. The BlackBerry platform offers developers special capabilities, ones that are not available with other platforms, which make it easy for a BlackBerry smartphone to connect to any of the data it needs (provided the user has wireless coverage and has the necessary credentials of course). The purpose of this chapter is to define the different connection paths available to a BlackBerry smartphone and demonstrate how to use them. The chapter will also describe the benefits and limitations of each connection type and recommend which connection to use depending on the availability of network connectivity.
|