This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: SMSing
 
It's not a secret anymore!