Sun Microsystems J2ME manual Working With Projects, Selecting APIs

Models: J2ME

1 134
Download 134 pages 62.02 Kb
Page 31
Image 31

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.1Selecting 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:

19

Page 31
Image 31
Sun Microsystems J2ME manual Working With Projects, Selecting APIs