Book Image

BlackBerry Java Application Development

Book Image

BlackBerry Java Application Development

Overview of this book

BlackBerry Smartphone was once the domain of jet-setting business users with power suits. Now you can hardly go anywhere without seeing someone using a BlackBerry to check their messages or make a call. It's this kind of explosive growth that makes the BlackBerry ecosystem a great place to develop and market applications through the BlackBerry App World store—this book shows you how to do just that! This step-by-step guide gives you a hands-on experience of developing innovative Java applications for your BlackBerry. With the help of this book, you will learn to build your own applications to illustrate the platform, and the various capabilities that developers can use in their programs. It explores the powers of Blackberry and helps you develop professional and impressive Java applications. The book teaches how to write rich, interactive, and smart BlackBerry applications in Java. It expects the readers to know Java but not Java Mobile or the BlackBerry APIs. We will learn to build rich, interactive, and smart Java applications for the BlackBerry. The book will cover UI programming, data storage, programming network, and internet API apps. As we move on, we will learn more about the BlackBerry's device features, such as messaging, GPS, multimedia, contacts and calendar, and so on.This book also helps you build your own applications to illustrate the platform, and the various capabilities that developers can use in their programs.
Table of Contents (18 chapters)
BlackBerry Java Application Development
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Two different approaches to application development


If you've visited the BlackBerry Developer website you may have noticed that there are two recommended approaches to developing applications for BlackBerry handhelds—Java Application Development and BlackBerry Web Development. This book is focused on the Java Application Development approach, which is the more versatile of the two, but the other can be very useful in the right situation.

  • Java Application Development approach: This is the most powerful approach and it creates applications written in Java that are loaded onto and executed on a BlackBerry handheld. They will be the focus of this book and are one of the most common ways to deploy an application. Two different tools exist to support this approach—the BlackBerry Java Development Environment (JDE) and the BlackBerry JDE Component Plug-in for Eclipse. Both offer the ability to create full custom applications. The BlackBerry JDE is a custom application written in Java that can be used to develop applications. The latter leverages the Eclipse Integrated Development Environment (IDE), which is a common platform for Java developers.

  • BlackBerry Web Development approach: It is the other approach that runs completely within the BlackBerry Browser application and can use various standards such as HTML and AJAX. Applications created using the BlackBerry Web Development approach are similar to more common web applications and generally require network connectivity to work. More powerful features, including native API calls, aren't allowed natively but can be made using BlackBerry Widgets. BlackBerry Widgets is a separate SDK for creating small applets that can be leveraged by web applications. Overall, this approach can be powerful but it requires network connectivity, which potentially means data charges and/or delays for network communication.