I'm developing an Android app that sends SMS to customers, I'm using a Sony XPERIA T2 Ultra Dual with Android 5.1.1.
This is my code:
SmsManager smsManager
= SmsManager
.getSmsManagerForSubscriptionId(subscriptionId);
smsManager.sendTextMessage( sms.getNumber(), null,
sms.getContent(), sentPI, deliveredPI);
The messages are located in Messages App, but they're marked as unsent. I' ve been trying to add message center number as scAddress param, but It doesn't work. I tested all solutions in stackoverflow but nothing works. Anyone has an idea?
Thanks!