I’m developing an android application that sends an sms message from a window (Activity) then moves to another window(Activity). I’m trying to display a message to the user how is seeing another activity that the message is delivered.
I imagine the solution would be to it fire a thread that send the message and and wait until it’s delivered and show a toast or Dialog. but I don’t know if it’s right or how to do that.
pls help.
I’m developing an android application that sends an sms message from a window (Activity)
Share
sendDataMessagehas following parameters for that:sentIntent– if not NULL this PendingIntent is broadcast when the message is sucessfully sent, or failed.deliveryIntent– if not NULL this PendingIntent is broadcast when the message is delivered to the recipient.[edit] – example how to create pending intent
SmsSendCheck– this is a special activity to show your Toast