×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    45

    Help me to run CIMD Java example application

    Hello people,
    I was trying to run the CIMD Java example application which i have downloaded from forum.nokia.com.
    Can you tell me what do i need to replace in the follwing with

    Socket chaussette= new Socket("nameoftheSMSCorUSSDCmachine",port);
    CIMDLogin cimdlogin=new CIMDLogin("xdr0","rdx0");
    CIMDLogin cimdlogin=new CIMDLogin("usernamethatisregisteredinSMSCorUSSDC",
    "passwordthatisregisteredinSMSCorUSSDC");

    nameoftheSMSCorUSSDCmachine = ?
    port = ?
    xdr0 = ?
    rdx0 = ?
    usernamethatisregisteredinSMSCorUSSDC = ?
    passwordthatisregisteredinSMSCorUSSDC = ?

    please explain what does they mean.

    Best regards

  2. #2
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,098

    Re: Help me to run CIMD Java example application

    Quote Originally Posted by garefield View Post
    Hello people,
    I was trying to run the CIMD Java example application which i have downloaded from forum.nokia.com.
    Can you tell me what do i need to replace in the follwing with

    Socket chaussette= new Socket("nameoftheSMSCorUSSDCmachine",port);
    CIMDLogin cimdlogin=new CIMDLogin("xdr0","rdx0");
    CIMDLogin cimdlogin=new CIMDLogin("usernamethatisregisteredinSMSCorUSSDC",
    "passwordthatisregisteredinSMSCorUSSDC");

    nameoftheSMSCorUSSDCmachine = ?
    port = ?
    xdr0 = ?
    rdx0 = ?
    usernamethatisregisteredinSMSCorUSSDC = ?
    passwordthatisregisteredinSMSCorUSSDC = ?

    please explain what does they mean.

    Best regards

    Hi garefield!

    This is straight from the the readme.txt of the file package:


    Java example installation instructions:
    1. Download the cimd.jar file to your disk
    select Java package for CIMD -> select: save this file to disk.

    2. Go to the same directory where you downloaded the package and
    unpack the cimd.jar package. Issue the command: jar xf cimd.jar.

    3. Edit the simpleCimdConnection.java file. Change the following parameters:
    Socket chaussette= new Socket("diego",9971);
    and change it this way
    Socket chaussette= new Socket("nameoftheSMSCorUSSDCmachine",port);

    CIMDLogin cimdlogin=new CIMDLogin("xdr0","rdx0");
    and change it this way
    CIMDLogin cimdlogin=new CIMDLogin("usernamethatisregisteredinSMSCorUSSDC",
    "passwordthatisregisteredinSMSCorUSSDC");

    4.Compile the simpleCimdConnection.java -file: javac simpleCimdConnection.java

    5.Run the simpleCimdConnection.java -file: java simpleCimdConnection

    The application should only:
    1) print in the shell everything it receives.
    2) in case of a message it should send the message "Welcome to this little program".


    Please could you try first filling your example using these and
    let me know what is missing and if you cannot continue, ok?

    Cheers!
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    45

    Re: Help me to run CIMD Java example application

    hello Maveric,

    i wanted to know what should i fill in the fields

    nameoftheSMSCorUSSDCmachine = ? (what is this and what should i put here to run the example on my computer and similar for the other fields)
    port = ?
    xdr0 = ?
    rdx0 = ?
    usernamethatisregisteredinSMSCorUSSDC = ?
    passwordthatisregisteredinSMSCorUSSDC = ?

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    1

    Re: Help me to run CIMD Java example application

    I have same question

    when I compile it
    -------------------------------
    simpleCimdConnection.java:13: cannot find symbol
    symbol : variable port
    location: class simpleCimdConnection
    Socket chaussette= new Socket("nameoftheSMSCorUSSDCmachi
    ne",port);

    ^
    1 error

    --------------------------------

    then I put random number for the port 1778
    and no error appear
    when I run the program i get
    -----------------------------------
    >java simpleCimdConnection
    couldn't connect or start the threads because java.net.UnknownHostException: nameoftheSMSCorUSSDCmachine


    how can I solve such exception
    ?
    whte the value of nameoftheSMSCorUSSDCmachine????


    thanks

Similar Threads

  1. java cimd application
    By vandana14 in forum General Messaging
    Replies: 3
    Last Post: 2011-04-07, 16:04
  2. Run javaFx application
    By i010128 in forum Mobile Java General
    Replies: 3
    Last Post: 2009-04-15, 13:25
  3. CIMD Example Application - Rights
    By cbang in forum General Messaging
    Replies: 6
    Last Post: 2009-01-29, 06:01
  4. I can't run java application on emulator
    By kempston in forum Mobile Java General
    Replies: 8
    Last Post: 2007-09-14, 15:00
  5. Help : Unable run more than one JAVA Apps on N80, 6680, 6681 ... 6630
    By lionel_lhf in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2006-06-10, 11:32

Posting Permissions

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