In this lesson, you create a new BlackBerry project through the Eclipse Integrated Development Environment.
Prerequisites
This lesson assumes that you have installed the required software. See Tutorial: Building a BlackBerry application.
Context and remarks
This tutorial assumes that you are familiar with Java and Eclipse.
Run Eclipse.
The default application path is C:\Eclipse\eclipse.exe.
In the Workspace field, specify a working directory and then click OK.
This tutorial assumes that you are working in the C:\HelloBlackBerry directory.
Create your new project.
Click File » New » Project.
Expand the BlackBerry folder and then select BlackBerry Project.
Click Next.
In the Project Name field, type HelloBlackBerry.
Click Finish.
Add the UltraLiteJ JAR file to the project.
Display the Package Explorer window in Eclipse if it is not already shown.
Click Window » Show View » Package Explorer.
Access the package properties of your project.
Click HelloBlackBerry in the Package Explorer window and then click File » Properties.
In the left pane, click Java Build Path and then click the Libraries tab.
Click Add External Jars, and then open \UltraLite\UltraLiteJ\BlackBerry4.2\UltraLiteJ16.jar from your SQL Anywhere installation directory.
Add the path to your UltraLiteJ Javadoc documentation to the project.
In the JARs And Class Folders On The Build Path list, expand UltraLiteJ16.jar and click JavaDoc Location.
Click Edit.
The Javadoc For UltraLiteJ16.Jar window appears.
Click Browse and then open \UltraLite\UltraLiteJ\BlackBerry4.2\html from your SQL Anywhere installation directory.
Click OK to close the Javadoc For UltraLiteJ16.Jar window.
Click OK to close the window.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |