Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2003

    Class not found errors

    I'm new to MIDP programming but have not been able to find any reference to what is obviously a common problem either in the documentation or in the forum.

    However I am trying to port programms written in standard Java (Sun JDK 1.3.1) to 6310 SDK using JBUILDER, but have come across compile errors where certain classes are not present in the Nokia classes.zip. One example is java.net.*.

    It seems I will have to re-write my classes to use an alternative to java.net, but what is the easiest way to do this? Is there any documentation which acts as a guide to the classes that are available??

    Thanks in advance

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Irving, Texas, USA

    RE: Class not found errors

    Hello Bernard,

    Networking in J2ME is very simple. You have only HttpConnection class available (there are some other optional networking classes, but they are not supported in Nokia Java phones). This means that any socket connection needs to be remodeled into a HttpConnection - Servlet - HttpConnection system. Servlet stores information from sending MIDlet and retreiving MIDlet polls the server for information (think of SMTP store and forward system).

    J2ME class documentation is available with any Nokia phone SDK in docs directory.


    Petteri / Forum Nokia

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003

    RE: Class not found errors


    I guess there is no easy way instructions for doing this,
    instead of, please have a look at j2me MIDP spec and
    use classes according the spesicification.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts