unfortunately I currently have no time to try it on myself, but you can add Intents you want to receive on impotant points in the lifetime of the sms, like when sending failed or succeded. I don't know if this is already fully implemented by Google.

Just to indicate that the destination address (first argument of the "sendTextMessage()" method) should contain a valid phone number otherwise you will get an "StringIndexOutOfBoundsException" exception.

Moreover, you need to leave the source address argument (the second argument) null; otherwise, you will get the same exception.