Results 1 to 3 of 3
  1. #1
    java girl is offline Member
    Join Date
    Jan 2009
    Rep Power

    Question Receiving Message in J2ME

    Hello everyone,

    I have a question and I hope that somebody help me..

    I want to build an application for mobile that when a text message is received from a specific number this statement is executed ( display.getDisplay(this).vibrate(800) )..

    I found many tutorials that related to receiving a message and they talk about something called "sms port" ..

    Can somebody help me in understanding that ..

    please I need help ..

  2. #2
    souFrag is offline Member
    Join Date
    May 2008
    Santiago, Chile
    Rep Power



    You can't process SMS sent to your cellphone unless it was sent by some application, because you can only process SMS sent to a specific port number (defined by you and/or the sender).

  3. #3
    jason.3dmagic is offline Member
    Join Date
    Oct 2009
    Rep Power


    sms is a protocol in mobile phones.

    when you send any sms to make connection you need to write
    for example :: sms://:123456789:5353

    port number is very important because every MIDlet has a listener at push registry when you want your sms to process automatically it must be received at specific port number.

    When you receive normal sms onto your mobile phone default port number is 0 for your normal inbox.

    For more information you can read Mobile Compting by Asoke Talukdar
    I hope this will solve your problem
    Last edited by jason.3dmagic; 10-27-2009 at 06:51 AM.

Similar Threads

  1. Receiving Text over a Socket (ReadLine() problem)
    By HermanHope in forum New To Java
    Replies: 1
    Last Post: 04-09-2009, 10:35 PM
  2. Replies: 5
    Last Post: 11-09-2008, 02:58 PM
  3. Receiving UDP pockets
    By Java Tip in forum
    Replies: 0
    Last Post: 04-07-2008, 08:08 PM
  4. Finding out the client who is receiving the response.
    By v.ranjith in forum Advanced Java
    Replies: 2
    Last Post: 01-29-2008, 08:03 AM
  5. Replies: 2
    Last Post: 10-31-2007, 04:55 PM

Posting Permissions

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