Skip to content Skip to sidebar Skip to footer

Putting Data In The Sms Sent Intent?

I'd like to send an sms message. If the text is too long, I split it into multiple messages. I'm trying to put some extra info into the 'sent' intent to know which part has been se

Solution 1:

Try using FLAG_ONE_SHOT or otherwise canceling the previous PendingIntent before trying to create a new one.

Solution 2:

You need to add a unique request code to your broadcast (second argument to getBroadcast method) in order to send unique values across. See this other question for more details: Differentiating delivery reports of two separate SMS's

Post a Comment for "Putting Data In The Sms Sent Intent?"