Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.

Similar presentations


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

1 © 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date

2 © 2009 Research In Motion Limited Agenda In this course, you will cover the following topics: –Introduction to advanced mobile application d evelopment for the BlackBerry smartphone –Application control for mobile devices –Optimization for mobile application development –Advanced BlackBerry user interface –Introduction to multimedia application development for the BlackBerry smartphone –Understanding push technology

3 © 2009 Research In Motion Limited Agenda In this course, you will cover the following topics: –Understanding client/server push –Introduction to developing Bluetooth applications for mobile devices –Developing secure applications

4 Advanced Java Application Development for the BlackBerry Smartphone Objectives –Discuss mobile application development for BlackBerry ® smartphones –Describe advanced application design considerations for BlackBerry smartphones –Describe the function of the BlackBerry ® Java Plug- in for Eclipse ® © 2009 Research In Motion Limited

5 Advanced Java Application Development for the BlackBerry Smartphone Objectives –Describe troubleshooting steps for BlackBerry smartphone mobile applications –Discuss deployment options for mobile applications © 2009 Research In Motion Limited

6 Introduction to advanced mobile application development for the BlackBerry smartphone

7 © 2009 Research In Motion Limited What is advanced mobile application development? –Advanced mobile application development includes: Advanced interfaces Highly secure applications Integration of Bluetooth ® wireless technology Server push technology Client/server push technology

8 © 2009 Research In Motion Limited What is advanced mobile application development? –Advanced mobile application development includes: Application control Code optimization

9 What is advanced mobile application development? All applications on the BlackBerry smartphones are created using Java. BlackBerry smartphones support MIDP 2.0/CLDC1.1. The Java APIs on BlackBerry smartphones enable you to develop client applications that provide the following capabilities: –Customizable user interfaces –Local data storage on the BlackBerry smartphone –Event listening and system interfaces –Secure wireless transport via HTTP and TCP –Network coverage and seamless roaming support

10 © 2009 Research In Motion Limited Advanced application design considerations Programming for BlackBerry smartphones –Java ME wireless environment supports client/server applications –BlackBerry Java Application integrates with core BlackBerry smartphone applications MEMicro Edition

11 © 2009 Research In Motion Limited Advanced application design considerations Design principles for BlackBerry smartphones –Mobile applications have the following limitations: Small screen size –Displays a limited number of characters –Displays only one screen at a time Limited processor speeds

12 © 2009 Research In Motion Limited Advanced application design considerations Design principles for BlackBerry smartphones –Mobile applications have the following limitations: Limited available memory Limited battery life Use wireless networks with a longer latency period

13 © 2009 Research In Motion Limited Advanced application design considerations Design principles for BlackBerry smartphones –Consider the following UI guidelines: Use or extend existing UI components Make full use of the keyboard and trackball Make all relevant actions available from the menu UI user interface

14 © 2009 Research In Motion Limited Advanced application design considerations Design principles for BlackBerry smartphones –Consider the following application guidelines: Display only the information users need Display information effectively

15 © 2009 Research In Motion Limited Advanced application design considerations BlackBerry Java Plug-in for Eclipse –BlackBerry Java Plug-in for Eclipse includes the following development tools: BlackBerry Integrated Development Environment BlackBerry Smartphone Simulator Java ME APIs and BlackBerry APIs sample applications Sample applications APIapplication program interface

16 Development tools You can use the the following development tools for development within third-party IDEs such as NetBeans™ or Eclipse®: –RAPC: Use this command prompt compiler to compile.java files and.jar files into.cod files. –Javaloader: Use this tool to add or update an application on a BlackBerry smartphone. –BlackBerry Signature Tool: Use this tool to send code signature requests to the BlackBerry® Signing Authority Tool. –Preverify Tool: Use this tool to partially verify your classes.

17 You can use the following development tools for development within third-party IDEs such as NetBeans or Eclipse: –JDWP: Use this tool to debug applications using third-party integrated development environments. –MDS-CS Simulator: Use this tool to debug applications using simulated mobile data system connections. –ESS: Use this tool to debug applications using simulated email messages. Development tools

18 © 2009 Research In Motion Limited Advanced application design considerations BlackBerry Java Plug-in for Eclipse –The BlackBerry Smartphone Simulator is designed to simulate: User interfaces and user interaction Network connections Email message services Wireless data synchronization

19 © 2009 Research In Motion Limited Advanced application design considerations Java ME and Java APIs for BlackBerry smartphone –Java ME is an industry standard platform: Defines common sets of Java APIs for wireless and embedded devices –Java ME application runs in the BlackBerry ® Java ® Virtual Machine

20 © 2009 Research In Motion Limited Advanced application design considerations –Supported Java API extensions include: User Interface APIs Persistent Data Storage APIs Networking and I/O APIs Event Listeners Application Integration APIs Additional Utilities I/Oinput/output

21 © 2009 Research In Motion Limited Advanced application design considerations BlackBerry smartphone solutions –BlackBerry smartphone users can use: BlackBerry ® Enterprise Server BlackBerry ® Internet Service Both BlackBerry Enterprise Server and BlackBerry Internet Service on the same smartphone

22 © 2009 Research In Motion Limited Advanced application design considerations BlackBerry Enterprise Solution –The BlackBerry Enterprise Server is part of the BlackBerry ® Enterprise Solution –The BlackBerry Enterprise Server: Operates behind an organization's firewall Provides a wireless gateway for accessing an organization’s email servers and organizer data

23 © 2009 Research In Motion Limited Advanced application design considerations BlackBerry ® Mobile Data System –The BlackBerry MDS is included in the BlackBerry Enterprise Server –It provides HTTP and Socket connections for BlackBerry Java Applications HTTPHypertext Transfer Protocol TCP/IP Transmission Control Protocol/Internet Protocol

24 © 2009 Research In Motion Limited Advanced application design considerations BlackBerry Internet Service –Use the BlackBerry Internet Service to access: Email messages Wireless access to email message attachments Access to Internet content

25 Using the BlackBerry Java Plug-in for Eclipse © 2009 Research In Motion Limited

26 BlackBerry Java Plug-in for Eclipse –An extension allowing development of Java applications optimized for BlackBerry smartphones –The BlackBerry Java Plug-in for Eclipse provides tools to: Design Debug Optimize Localize mobile applications

27 BlackBerry Java Plug-in for Eclipse Features of BlackBerry Java Plug-in for Eclipse –support for multiple BlackBerry® Device Software versions –code assist integration –extended Java® debugging –preprocessing support –integration with BlackBerry features

28 Testing mobile applications © 2009 Research In Motion Limited

29 Testing mobile applications You can use the following methods to test BlackBerry smartphone applications: Using the BlackBerry Smartphone Simulator. The BlackBerry Smartphone Simulator permits you to run BlackBerry smartphone applications on your computer. Using a BlackBerry smartphone. For debugging purposes, you can attach your device to the BlackBerry IDE and use the debugging tool to step through your application code.

30 Deploying mobile applications © 2009 Research In Motion Limited

31 How to deploy applications –Ways to install applications on BlackBerry smartphones: BlackBerry ® Desktop Manager Javaloader BlackBerry Application Web Loader Over the air © 2009 Research In Motion Limited

32 How to deploy applications –Ways to install applications on BlackBerry smartphones: BlackBerry ® Enterprise Server administration BlackBerry App World ™ storefront Virtual preload Application Center © 2009 Research In Motion Limited

33 How to deploy applications –Before you deploy your application, consider the following: Sign your application if required Specific Trust Level Interference of IT policies © 2009 Research In Motion Limited ITinformation technology

34 How to deploy applications BlackBerry Desktop Manager –Use to download and install applications on a BlackBerry smartphone –Create and distribute the following files using Eclipse to deploy using BlackBerry Desktop Manager: COD ALX © 2009 Research In Motion Limited

35 How to deploy applications Javaloader –A command prompt utility providing low level control over the BlackBerry smartphone –Javaloader is for developer use only, and is not intended for end users BlackBerry Application Web Loader –Use to install applications over a USB connection –Download the application using a browser © 2009 Research In Motion Limited USBuniversal serial bus

36 How to deploy applications Over the air –Download and install applications using wireless connections BlackBerry Enterprise Server –Applications pushed by a BlackBerry Enterprise Server connected to BlackBerry smartphones © 2009 Research In Motion Limited

37 How to deploy applications BlackBerry App World –Distributes your applications using the BlackBerry App World –RIM must approve applications before being published © 2009 Research In Motion Limited RIMResearch In Motion

38 How to deploy applications Virtual preload –Carriers can virtually preload applications –The user clicks an icon, the BlackBerry smartphone downloads the associated application Instant load –Instant load deployment is similar to virtual preload –Applications are transparently installed upon initial network activation © 2009 Research In Motion Limited

39 How to deploy applications Application center –Users discover and download applications –Receive notifications of new applications that are available for download © 2009 Research In Motion Limited

40 How to deploy applications Troubleshooting BlackBerry Java Plug-in for Eclipse –Eclipse provides tools to identify and troubleshoot errors –Run your application on the simulator –Run your application on a BlackBerry smartphone © 2009 Research In Motion Limited

41 Public key license requirements © 2009 Research In Motion Limited

42 Public key license requirements –License key models supported include: Static Single Pool Dynamic © 2009 Research In Motion Limited

43 Summary –All applications on the BlackBerry smartphones are created using Java ME and BlackBerry APIs –Java ME wireless environment supports client/server applications on the BlackBerry smartphones –BlackBerry Java Plug-in for Eclipse provides tools to design, debug, optimize, and localize mobile applications, as well as to simulate the integration between mobile applications, BlackBerry smartphone services, and external data sources –Deploy an application using BlackBerry Desktop Manager, Javaloader, Blackberry Application Web Loader, or Over the air –Use BlackBerry Enterprise Server to push the application to the BlackBerry smartphone, or distribute your application through the BlackBerry App World, Virtual Preloads, or the Application Center © 2009 Research In Motion Limited

44

45 Legal Disclaimer The following trademarks and/or registered trademarks of Research In Motion are referred to in this presentation: –BlackBerry® –Research In Motion® –RIM® The following BlackBerry products are referred to in this presentation: –BlackBerry® Internet Service –BlackBerry® Enterprise Solution –BlackBerry® Enterprise Server © 2009 Research In Motion Limited

46 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 "© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date."

Similar presentations


Ads by Google