Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Adding Nokia Classes to WTK

Posted on 2004-04-16
3
Medium Priority
?
476 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 500 total points
ID: 10844191
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
ID: 10847521
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
ID: 10847541
My pleasure! =-)
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

564 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