Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Messaging

Options
  • 27-02-2007 12:53pm
    #1
    Closed Accounts Posts: 488 ✭✭


    Hello,

    Has anyone have any success of sending text messages through the a pc using a mobile connected to a mobile via cable in java.

    Any help or good sites to help me out.
    Tried different sites but to no avail.

    Thank you


Comments

  • Registered Users Posts: 4,188 ✭✭✭pH


    Some mobile phone manufacturers have proprietary PC software which may also have an API that you can use.

    The standard way to do this is to get your mobile connected to the PC as a GSM modem. Most mobile phones have drivers for this and you can connect using a physical cable, bluetooth IR etc.
    http://www.developershome.com/sms/howToSendSMSFromPC.asp

    Test that this shows up as a serial port on windows (COM1/2/3) and you should be now able to use a terminal prog to test this and send text messages using +AT commands
    http://www.developershome.com/sms/howToUseHyperTerminal.asp

    here's a sample from the site above:
    AT
    OK
    AT+CMGF=1
    OK
    AT+CMGW="+85291234567"
    > A simple demo of SMS text messaging.
    +CMGW: 1
    
    OK
    AT+CMSS=1
    +CMSS: 20
    
    OK
    

    Now then all you need to do is recreate the serial port IO in Java and you should be there.


Advertisement