I am trying to send a SMS from my application that already set as default SMS application. I have tried to send using SmsManager, but it does not work.
Here is what I have tried:
SmsManager smsMan = SmsManager.getDefault();
smsMan.sendTextMessage(Name, null, body, null, null);
This approach works when my application was not set as default app, but it didn't when my app is the default one. Is there any other approach to send a SMS from inside the default SMS application?