0
I have an app and I would like him to send a text to his own mobile but I’m not getting, not from the error just not send.
SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage("987654321", null, "Texto SMS", null, null);
This is the stretch I have, what to do?
I had already added the permission in the manifest, I am using version 4.3. And the number is like this +55 81 987654321. and still not sending.
– Ari Melo
Is there any logcat information? If possible, try to include in the question an excerpt containing possible app/system records. Adding log calls before and after upload test help delimit logs.
– Mathias Berwig
Solved, I tested in a version higher than 6 and had to put the permission request.
– Ari Melo
Great! Don’t forget to mark the question as solved :)
– Mathias Berwig
how to mark as resolved?
– Ari Melo
In the upper left corner of the frame with my answer there is a dial (check). When you click it, it will turn green and the answer will be marked as a solution to the question.
– Mathias Berwig