This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes SMSing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "SMSing" Watch "SMSing" New topic
Author

SMSing

Avalanche snow
Greenhorn

Joined: Oct 14, 2003
Posts: 2
i would like to make a java programme to SMS using my provider which is singtel in singaprore to another friend of my.
does anybody know and give me some ideal of how would i be doing?
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
sms.setSubscriberID(id);
sms.setSubscriberPassword(password);
// Message Settings
sms.setMsgPin(phoneNo);
sms.setMsgFrom(fromName);
sms.setMsgText(messageText);
// Send Message
sms.msgSend();
// Check For Errors
if(sms.isSuccess())
{
System.out.println("Message was sent!");
}
else
{
System.out.println("Message was not sent!");
System.out.println("Error Code: " + sms.getErrorCode());
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SMSing
 
Similar Threads
Back to God
Blond Highway Worker
movie
Will you go to Iraq ?
What is your New Year Resolution