• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

Have import statements. Need links to packages involved

I have a project that is actually a VirtualMMS application for Nokia 6600. I don't know why but i can't get it to compile on my Eclipse. The most likely problem is that i have not installed the right packages.

Here are the import statements that are encountered throughout the source files of the project:

import java.util.*;
import java.io.*;
import java.io.InputStream;
import java.io.IOException;
import java.lang.*;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.media.*;
import javax.microedition.media.control.*;
import javax.microedition.lcdui.game.Sprite;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;
import javax.microedition.rms.*;
import javax.microedition.io.*;
import javax.microedition.io.HttpConnection;
import javax.microedition.io.Connector;
import javax.microedition.lcdui.TextBox;
import javax.microedition.io.StreamConnection;

import com.nokia.mid.ui.FullCanvas;
import com.nokia.mid.ui.*;

import javax.bluetooth.*;

I have visited the java.sun.com site but on the "microedition" page there are numerous packages that might be required and i don't know which one to install. So please, what i need is direct links to all the packages needed. Thank you in advance.



0
dannertb
Asked:
dannertb
3 Solutions
 
Mayank SAssociate Director - Product EngineeringCommented:
Download the wireless toolkit from: http://java.sun.com/products/sjwtoolkit/download-2_3.html

To make life easier, download the Eclipse J2ME plug-in: http://www.eclipseme.org/
0
 
Mayank SAssociate Director - Product EngineeringCommented:
>> import com.nokia.mid.ui.*;

For that you will need some API from Nokia, I guess. Not sure where to download that from, for free,.
0
 
dannertbAuthor Commented:
>>Download the wireless toolkit from: http://java.sun.com/products/sjwtoolkit/download-2_3.html

>>To make life easier, download the Eclipse J2ME plug-in: http://www.eclipseme.org/

Ok. Both the wireless toolkit and the Eclipse j2me or only one?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Mayank SAssociate Director - Product EngineeringCommented:
You can download both.
0
 
CEHJCommented:
0
 
objectsCommented:
you can download what you need from nokia at:

http://www.forum.nokia.com/main/0,6566,033_3-1,00.html

you'll also find lots of good info at:

http://www.forum.nokia.com/main/1,6566,40,00.html
0
 
dannertbAuthor Commented:
>>You can download both.
I am not interested in what i "can" download, but in what i "must" download.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
The first one is essential. Second one is helpful for development in Eclipse since you are already using it.
0
 
dannertbAuthor Commented:
>>you can download what you need from nokia at:

>>http://www.forum.nokia.com/main/0,6566,033_3-1,00.html

>>you'll also find lots of good info at:

>>http://www.forum.nokia.com/main/1,6566,40,00.html

There's lots of stuff there. What do i need? :-) Aren't the import statements and the phone type enough to decide what packages i need?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
I haven't worked with Nokia API so I am not sure. I guess the easiest is to read the description of the APIs there and read the comments related to the Nokia classes being used in your code, to figure out to which API it can belong. Otherwise download all the JARs and just search the JARs for the classes - quite easy :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now