×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 43
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    how to send message?

    Hello,
    I want to write code in J2ME to send and receive messages and check codes in wireless simulator . Where do I get the codes ? Plz provide me the code.

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: how to send message?

    what do you mean with "check codes" ?
    And what kind of messages are we talking about ?
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: how to send message?

    Hello,
    I have downloaded wireless toolkit 2.5.2 and have written midlets code to send messages and receive those messages. I have opened two instances of that simulator.In one i have run sending applications and in another the receiving application.The sending application have been run but the receiving didn't.

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send message?

    That works like the perfect,
    The sending application have been run but the receiving didn't.
    The above quoted line is stand for what?
    is the emulator in the receiving mode of the SMS was not runing or the SMS was not received?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: how to send message?

    Hello,
    The sms was not received.But in sending simulator it is shown-> "sms is sent".

  6. #6
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send message?

    Which emulator you open with?

    I means that did you open te WTK default emulator of the Nokia's emulator..try to open the jad with the WTK's default emulator..let us know the results.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  7. #7
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: how to send message?

    Hi lovely_chatterjee ,

    Here is the proper documentation how to test the sms across the emulators.

    http://download.oracle.com/javame/de...-html/wma.html

  8. #8
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: how to send message?

    Hello bhanuchandar.k,
    Thank you for your help but I didn't mean that type of document. I want some codes. If you plz help me by providing some codes in J2ME to send and receive sms.

  9. #9
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send message?

    I have the same WMA demo and this is workig like cool,
    I wonder if you have entered the receiver emulator's number in the sender emulator textbox.Please note that the number is must to receive the SMS on the receiver emulator.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  10. #10
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: how to send message?

    Hello raj_J2ME,
    I have run the application in Wireless Toolkit 2.5.2. So there is no field where the number is to be written.


    Thank You.

  11. #11
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: how to send message?

    Quote Originally Posted by lovely_chatterjee View Post
    Hello raj_J2ME,
    I have run the application in Wireless Toolkit 2.5.2. So there is no field where the number is to be written.


    Thank You.
    Hey,

    You go to the Bin then inside this you will find the jad and jar file, you click two times on the jad file in order to run two instance of the app one for sending and one for receiving.

    Now as soon as you will launch the both of the app, start the one app in the SMS Send mode and another in the receive SMS Mode, so as soon as you will allow the permission for the sending and receiving the SMS, inside the Sender emulator you will see the textbox with the title "Enter mobile number..." you enter the number here written on the header of the receiver emulator and then click the OK, again this will ask you to enter the SMS.Enter the SMS and then press OK/Send commnad.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  12. #12
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: how to send message?

    Hi lovely_chatterjee

    here is the example
    http://wiki.forum.nokia.com/index.ph...ing_a_text_SMS

  13. #13
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: how to send message?

    just take into account that only having the code (which you are asking for) but having no clue on how the emulators work, how to set them up correctly and how to let them actually communicate won't help you out at all... You will have the code but you won't be able to actually work with the developing environment...
    Frotunately bhanuchandar.k has given some extra links with info, for example the one in post #7
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  14. #14
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: how to send message?

    Hello bhanuchandar.k,
    Many thanks for your help. But what code I have got is for sending text msg and it is running well but the problem is I dont find out receiving text msg code. If you kindly provide me the code I will be really greatful to you.

  15. #15
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: how to send message?

    have you tried the demo application which is supplied with the WTK ? They have such an example if I remember correctly... Or maybe it came with netbeans, still there is an example project...
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

Similar Threads

  1. -4623 Unable to send message - SMS send error
    By CowbellSoftware in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2009-09-19, 10:59
  2. Replies: 0
    Last Post: 2008-05-24, 11:05
  3. Send message / send sms
    By slave89 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-05-04, 11:02
  4. "Allow application -- to send text message?" How can remove that message?
    By premlathiya in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-08-10, 00:17
  5. Send Message
    By Spider_Eg in forum Mobile Java General
    Replies: 3
    Last Post: 2005-12-20, 11:23

Posting Permissions

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