Generate code for the BlackBerry platform, develop a BlackBerry device
application with that code and sample files, and test the application's functionality on a
simulator.
Prerequisites
Install Sybase Unwired Platform Mobile SDK and Runtime as indicated in Getting Started.
Complete Tutorial: Mobile Business Object Development, which provides the foundation tasks for this tutorial.
Review the Supported Hardware and Software requirements for this
release.
Task
Create
a device application that communicates with the database mobile business objects that
are deployed to Unwired Server.
Installing the BlackBerry Java Plug-in for Eclipse
The BlackBerry Java Plug-in for Eclipse enables you to finish developing the BlackBerry application using BlackBerry smartphone-specific development, debugging, and simulation tools.
Generating Java Object API Code
Use the Generate Code wizard to generate object API code for the SUP101 mobile application project. The code generation creates the business logic, attributes, and operations for the mobile business objects in the project.
Creating the BlackBerry Project
Create a new BlackBerry SUP101Sample project in the BlackBerry Java Plug-in for Eclipse. You add library resources to the project.
Creating the User Interface
Add sample code from the ZIP archive to the SUP101Sample application. The files provide the functionality and layout of the user interface.
Creating a Launch Configuration for the Project
Create and define a new launch configuration for the SUP101Sample project. The configuration defines how the application will launch and the target BlackBerry platform.