Solved

Adding Nokia Classes to WTK

Posted on 2004-04-16
3
467 Views
Last Modified: 2008-01-16
After having installed a Nokia Mobile SDK, I found a set of classes or packages that can be used with J2ME.
I'm using the J2ME Wireless ToolKit 2.1 and I was wondering how I can add this zip file (containing the classes) into the WTK so when I compile an application, no errors or exceptions will come up.

If anyone knows how this is done, please let me know.

Cheers

-OBCT
0
Comment
Question by:OBCT
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 125 total points
Comment Utility
I would suggest that you either put a copy of that jar into the lib folder of your project (WTK project that is), or put a copy into WTK21/lib. If you choose the latter, you need to add the Nokia jar to the C:\WTK21\wtklib\Windows\ktools.properties file:

kjava.class.path: lib\\midpapi20.jar;lib\\cldcapi10.jar;<add jar file here>

0
 
LVL 9

Author Comment

by:OBCT
Comment Utility
I realized that when I installed the Nokia SDK, it had already integrated itself with the WTK. I just needed to select the Nokia device before compiling.
However you did answer my question so the points are yours.
Thanks again :)

Cheers

-OBCT
0
 
LVL 14

Expert Comment

by:Tommy Braas
Comment Utility
My pleasure! =-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
copyEndy  challenge 15 54
return in catch statement 1 39
nestparen challenge 4 55
XML Paring  Error - Premature end of file. 7 55
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now