In my project, I also need to send SMS from pc to an actual mobile phone.
I still havent done this part. But if the destination address is set to the phone number of the actual phone, is it possible to do it?
Code:
sms.setDestinationAddr("+11005101234");// recipient of message
sms.setSourceAddr("+11005551212"); // originator of message
sms.setMsgText("Hello World From Simplewire!");
Besides, how can u send SMS from pc to virtual phone?
Is that u use the sample code from Simplewire?
Code:
SMS sms = new SMS();
// Set Message Properties
sms.setMsgPin("1005101234");
sms.setMsgFrom("Joe");
sms.setMsgCallback("6165551212");
sms.setMsgText("Hello World From Java SMS!");
// Display The Status
System.out.println("Submitting SMS To Simplewire...");
// Send the request to simplewire
sms.msgSend();