Im trying to send sms programatically in my android application using AsyncTask
in doInBackground
i have a list of recipients to which i want to send sms, problem is if i send them inside the for
loop it has an erratic behavior some times the app crashes some time the messages are not sent... Im using PendingIntent
to make sure the message leaves the device,
smsManager.sendTextMessage("Mobile_NUmber",null, "MessageText", sentPI, null);
can i implement some sort of mechanism in which i can send next sms only after i receive the Broadcast
of first sms PendingIntent