Send Sms And don't Save in Message

  • Replies:0
  • Forum posts: 1

Nov 7, 2016, 7:25:08 PM via Website

I Should Send Some Codes by Sms and I don't want Save in Messages!
I use SmsManage and Special Port!
But it Doesn't Work as I need!
String messageText =Hello";
String messageNumber="999999";
String SMS_PORT ="6734";
SmsManager smsManager =SmsManager.getDefault();
smsManager.sendDataMessage(messageNumber,null, SMS_PORT, messageText.getBytes(),null,null);

Thanks For Any Help :)

— modified on Nov 7, 2016, 7:25:56 PM