Presentation is loading. Please wait.

Presentation is loading. Please wait.

V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date.

Similar presentations


Presentation on theme: "V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date."— Presentation transcript:

1 v0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date

2 © 2009 Research In Motion Limited Revision history Document versionDateUpdated byDescription of revision.01Brian WhiteInitial content creation

3 © 2009 Research In Motion Limited Agenda In this course, you will cover the following topics: –Introduction to Java® application development for mobile devices –Understanding Java APIs for mobile devices –Developing a user interface for mobile devices –Push technology for Java applications –Introduction to threading and background processing –Network communication for mobile devices –Testing and debugging an application API application programming Interface

4 Network communication for mobile devices Objectives At the end of this module, you should be able to do the following: –Identify the various network transport routes –Describe least cost routing –Describe how to make an HTTP connection –Describe how to make a socket connection HTTPHypertext Transfer Protocol

5 © 2009 Research In Motion Limited BlackBerry transport routes

6 Introducing transport routes –Connections appear to the end user as they would on a desktop computer. –Connection types vary greatly between BlackBerry® smartphones and operating systems. –Networks include various radio communication technologies and proxies.

7 Introducing transport routes This module describes the following transport routes: –WAP network gateways –The BlackBerry MDS Connection Service network gateway –The BlackBerry Internet Service Browsing network gateway –Direct TCP networks –Wi-Fi® connections WAPWireless Application Protocol MDSMobile Data System TCPTransmission Control Protocol

8 Introducing transport routes WAP network gateways –WAP network gateways are hosted by wireless service providers. –WAP network gateways must support WTP-level segmentation and reassembly. –Proprietary WAP extensions are not supported. –The BlackBerry® Browser accesses WAP network gateways using the WAP browser configuration. –To browse the Internet through a WAP network gateway, users must specify the WAP browser configuration in the Browser Configuration settings. –WAP1.2.1 and WAP 2.0 are supported. WTPWAP Transaction Protocol

9 Introducing transport routes WAP network example

10 Introducing transport routes The BlackBerry MDS Connection Service network gateway –Provides users with secure access to the organization's intranets and access to the Internet –Is a component of the BlackBerry® Enterprise Server that exists on the organization's network behind a firewall –Acts as a proxy for the BlackBerry Browser and makes requests on behalf of the BlackBerry Browser –Optimizes the content in the response to enhance network efficiency and improve display on smaller screens before it sends the content to the BlackBerry Browser –Communicates with the BlackBerry MDS Connection Service using HTTP/IPPP IPPPInternet Protocol Proxy Protocol

11 Introducing transport routes BlackBerryMDS Connection Service example

12 Introducing transport routes The BlackBerry Internet Service Browsing network gateway –Provides access to content optimization and compression features –Acts as a proxy for the BlackBerry Browser and makes requests on behalf of the BlackBerry Browser –Accessed using the Internet browser configuration –Developers must be part of the RIM ISV Alliance program and apply for access for each application.

13 Introducing transport routes The BlackBerryInternet Service Browsing network gateway example

14 Introducing transport routes Direct TCP connection –Internet protocol that provides a reliable, in-order byte stream delivery –Duplex protocol –Includes a flow-control mechanism –Supports a demultiplexing mechanism –The BlackBerry smartphone accesses the Internet through a wireless service provider connection.

15 Introducing transport routes Direct TCP connection example

16 Introducing transport routes Wi-Fi connection –A local area network that uses high frequency radio signals to transmit and receive data over small distances –Three possible Wi-Fi network configurations for BlackBerry smartphones: Wireless access point through the Internet and to an Internet content server Connection to the access point through the BlackBerry® Infrastructure Connection to the access point through a corporate firewall and through a BlackBerry Enterprise Server with BlackBerry MDS Services

17 Introducing transport routes Wi-Fi connection example

18 Introducing least cost routing

19 Least cost routing Least cost routing is an effort to find the lowest cost path between two network nodes with the least number of links between nodes.

20 Least cost routing –In a simple network link, costs can be stored on each node. –Does not resolve the following issues: Node and link failures Changes in the numbers of links and nodes in the network No allowance for temporary changes in link costs

21 Least cost routing –A variety of routing protocols are used in the nodes of most networks to overcome the issues –Routing protocols must be dynamic to overcome failures and changes in link costs –Routing protocols must be distributed for efficiency

22 Least cost routing Serial bypass –Another form of least cost routing –BlackBerry Router is in the DMZ. –Using serial bypass eliminates an organization’s cost of using the BlackBerry Infrastructure. –Multiple BlackBerry smartphones can connect through the same BlackBerry® Device Manager. –All normal functions are available, except wireless enterprise activation. DMZdemilitarized zone

23 HTTP network connection demonstration

24 Socket connection demonstration

25 Summary –BlackBerry smartphones use the following connections: WAP1.2.1 and WAP2.0 network gateways are hosted by wireless service providers. WAP network gateways must support WTP-level segmentation and reassembly. The BlackBerry MDS Connection Service is designed to provide users with secure access to their organization's intranets and access to the Internet. The BlackBerry MDS Connection Service is a component of the BlackBerry Enterprise Server that exists on the organization's network behind a firewall. Wireless service providers can use the BlackBerry Internet Service Browsing network gateway to offe BlackBerry smartphone users access to the content optimization and compression features provided b the BlackBerry Infrastructure without using the BlackBerry Enterprise Server. In a direct TCP network, the BlackBerry smartphone accesses the Internet through a wireless server provider connection. In certain situations, when you configure direct Internet connections you must specify an Access Point Name Gateway. Wi-Fi is a local area network that uses high frequency radio signals to transmit and receive data over small distances. It uses Ethernet protocol. Wi-Fi access points provide multiple network connectio options. –Least cost routing is an effort to find the lowest cost path between two network nodes with the least number of links between nodes. Serial bypass is another form of least cost routing. It eliminates the organization’s cost of using the BlackBerry Infrastructure.

26 © 2009 Research In Motion Limited

27 Legal Disclaimer The following trademarks and/or registered trademarks of Research In Motion are referred to in this presentation: –BlackBerry® –Research In Motion® (only include if it appears in the webinar/presentation) –RIM® (only include if it appears in the webinar/presentation) The following BlackBerry products are referred to in this presentation: (include all items from the official BlackBerry products list that appear in the webinar/presentation) –BlackBerry® Internet Service –BlackBerry® Enterprise Solution –BlackBerry® Enterprise Server –BlackBerry® Pearl™ 8100 smartphone –BlackBerry® Curve™ 8300 smartphone The following third-party trademarks are referred to in this presentation: (include all third-party products that appear in the webinar/presentation) –Microsoft® Excel® –Microsoft® SQL Server® Please remove any products not mentioned in this presentation and add all mentioned products before completing this presentation. Also, remove any remaining red text. © 2009 Research In Motion Limited

28 Legal Disclaimer © 2009 Research In Motion Limited. All rights reserved. BlackBerry®, RIM®, Research In Motion®, SurePress™ SureType® and related trademarks, names and logos are the property of Research In Motion Limited and are registered and/or used in the U.S. and countries around the world. All other trademarks are the property of their respective owners. This documentation is provided "AS IS" and without condition, endorsement, guarantee, representation or warranty, or liability of any kind by Research In Motion Limited and its affiliated companies, all of which are expressly disclaimed to the maximum extent permitted by applicable law in your jurisdiction.


Download ppt "V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date."

Similar presentations


Ads by Google