beautypg.com

Working with projects, 1 selecting apis, Selecting apis – Sun Microsystems J2ME User Manual

Page 31: Chapter 3

background image

19

CHAPTER

3

Working With Projects

In the last chapter, you learned how the J2ME Wireless Toolkit helps you with the
MIDP development cycle. This chapter delves more deeply into the details of
working with projects, including the following:

Selecting the target APIs for a project

Manipulating MIDlet suite attributes, including the list of MIDlets

Understanding the project directory structure

Including third-party libraries in a project

3.1

Selecting APIs

Each project is built against some set of APIs. The J2ME Wireless Toolkit supports
many APIs; the full list is detailed in

Chapter 1, “Introduction

.” The toolkit allows

you to develop applications for some subset of APIs based on the type of devices
you expect to run your software.

For example, even though the toolkit supports JSR 184, the Mobile 3D Graphics
API, you might want to develop applications that don’t make use of that API. The
project’s API Selection settings make it possible to choose only the APIs you want
to use.

To see how this works, launch KToolbar and open a project. Then click on
Settings...

to bring up the following window: