Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2003

    SIP over UDP Application for Nokia 7650 with J2ME


    I'm developing an java application for a Nokia 7650 that needs to use SIP over UDP.

    In an emulator on the PC the communication works fine.

    I'm afraid that there will be some problems when I port the application to the real device.

    Can I use SIP over UDP communication on a real Nokia 7650?

    thanks in advance

    Best regards


  2. #2
    Registered User
    Join Date
    Aug 2003

    code example . . .

    I add some code example of my application. SIP uses Datagram protocol, which is supported in CLDC.

    // Create a new datagram socket.
    DatagramConnection dc =

    System.out.println("SYSTEM, datagram server listener:" + "datagram://:5060");

    while (! sipStack.toExit) {
    Datagram datagram =

    System.out.println("SYSTEM, listening!");
    System.out.println("SYSTEM, packet revceived!");

    // Create asynchronous message handler
    // for this message
    UDPMessageChannel udpMessageChannel =
    new UDPMessageChannel
    } catch (Exception ex) {

  3. #3
    Registered User
    Join Date
    Jul 2003

    Grant Gould

    CLDC "supports" but does not require UDP, so not all valid CLDC devices will provide datagrams. Nokia generally provides only the absolute minimum required by the specification: a fairly dodgy http implementation and nothing more.

    As far as I know, no Nokia phones provide datagram connections from Java. If you want datagram support, you should probably look at other handset manufacturers, or else at writing your application in C++ rather than Java.

Posting Permissions

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