Discussion Board

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

    Network Connectivity Implementation using JSR 180!

    Greetings all,

    I am currently doing some readup on the JSR 180 SIP API
    implementation. It clearly defines and describes all about
    "javax.microedition.sip" package containing interfaces and
    classes implementing SIP functionality.

    In the GCF (Generic Connection Framework) to establish
    connectivity with remote machine I use the foll.

    StreamConnection sc = (StreamConnection) Connector.open("socket://");

    But as per the JSR 180 developers importing javax.microedition.sip
    will have to use the Connector.open() method but typecast it of
    type SipClientConnection interface as follows:

    SipClientConnection scc = (SipClientConnection) Connector.open("sip:alice@company.com:5060");

    When I tried this out using J2ME Wireless Toolkit 1.0.4_01 it
    compiled fine but I got ClassCastException during runtime which is
    quite logical because javax.microedition.io does not know
    interface SipClientConnection like it does StreamConnection.

    Now I am stuck here wondering what to do?

    Any suggesstions, advices, insights would be of great help!

    adios & cheers!

  2. #2
    Nokia Developer Expert
    Join Date
    Jan 2004

    At the moment the JSR180 applications can be run only with the standalone emulator available here: http://www.forum.nokia.com/java/jsr180

    Best Regards,
    Jari Kinnunen

Posting Permissions

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