Developers
Local Navigation
Use these hands-on exercises to learn about developing for BlackBerry®.
BlackBerry JDE Developer Labs
Note: Before beginning these labs, you will need to download and install the BlackBerry JDE
The Basics of Developing for BlackBerry
A great starting point for the BlackBerry developer. In this lab we will assist developers in learning the basics of creating an end-to-end BlackBerry application. Developers will get an introduction to BlackBerry as a development platform and to the BlackBerry Java™ Development Environment (JDE). We'll also cover the APIs and the tools and simulators you'll need to develop, test and deploy robust BlackBerry applications.
- Writing your first application
- Creating a user interface
- Localizing an application
- Storing persistent data
- Connecting to the network
Developing User Interfaces for BlackBerry
In this lab you'll learn how to implement an effective user interface for BlackBerry. The lab will use the built-in APIs as well as demonstrate how to extend existing interface elements to create a new, custom look and feel for your application.
Connecting to Email, Calendar and PIM Applications on BlackBerry
Ever wonder how your application can automatically send an email or update the Address book on the BlackBerry device? The exercises in this section cover that information and more. In this lab you will learn how to tightly integrate your application with BlackBerry. We’ll give you the information you will need to use the Email and PIM APIs effectively.
- Sending email messages
- Using PIM functions
- Using the Options API
- Using the MenuItem API
- Listening for email and triggering notifications
Working with Multiple Processes and Threads
BlackBerry is a multi-threaded environment, so why not build background applications to listen for push data or do data processing? In this lab we'll cover the basics of creating auto-start background applications to act as push listeners. Also you'll learn how those applications communicate with other applications on the BlackBerry device.
Creating Web Content for the BlackBerry Browser
You will learn how to develop rich SVG web content using Plazmic's Content Developer Kit.
Security for BlackBerry Applications
Does your application use sensitive data? In this lab we'll introduce you to the powerful and flexible Cryptography API that comes with BlackBerry. You'll learn how to encrypt and decrypt data along with how to use digital signatures to help ensure the authenticity of information.
BlackBerry MDS Studio Developer Labs
Note: Before beginning these labs, you will need to download and install BlackBerry MDS Studio.
Creating a Length Conversion Application Using the Quick-start Approach
A great starting point for BlackBerry MDS Studio developers. This first series of labs explores using the Quick start method for creating BlackBerry MDS Studio applications. Using this approach, you will see how BlackBerry MDS Studio creates and maps the screen, data, and message components.
- Create a BlackBerry MDS Studio project
- Customize the user interface on the main screen
- Publish the application
Creating a Length Conversion Application Using the Bottom-up Approach
With this series of labs, you create a length conversion application using the bottom-up approach. Applying the bottom-up approach instead of the quick-start approach enables you to design the user interface without having to create the underlying data and message structures.
- Create a Bottom-up BlackBerry MDS Studio project
- Design the main screen and user interface
- Create the communication between the user interface and the length conversion web service
- Optimize wireless bandwidth using message binding
Creating a BlackBerry Contact Using the Top-down Approach
In this series of labs, you will create an application that can access the local address book using the top-down approach in BlackBerry MDS Studio. You will design the application to add a contact or view contact information from the address book.
- Create a contact using the top-down approach
- Display contact information
- Retrieve a subset of contacts on a BlackBerry device
Web Services Developer Labs
Note: Before beginning these labs, you will need to download and install BlackBerry MDS Studio.
Building a Calculator Web Service Using Apache Tomcat/Axis
This section describes how to create a web service using Apache Tomcat and Apache Axis. In this section, you create a simple calculator web service with two operations: add and subtract.
- Create a web service interface and WDSL file
- Generate server stubs using the Apache Axis WSDL2Java command-line tool
- Implement the server code
- Implement and test the web service
Building a Measurement Conversion Web Service Using .NET
This section describes how to create a web service that converts metric and imperial measurement units using Microsoft Visual Studio® .NET. This web service supports conversions between kilometers and miles.