Hi NJDude,
I appreciate the help. But the problem is that some users use google's "Messenger" app as their default MMS app, and for some reason, when I include the TelNum (the "To") line:
iIntent.PutExtra("address", "1234")
The attachment will NOT be attached to the message when Messenger launches. If I remove the above line, then Messenger will first prompt for the recipient, but then the attachment WILL be properly attached to the message.
So, since this problem was occurring when I added the above line, I noticed other code examples that would embed the TelNum differently:
iIntent.Initialize("android.intent.action.SEND", "smsto:" & TelNum)
But when I try to send with this line, I get the below error:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SEND dat=smsto:xxxxxxxxx-xxxx typ=image/* flg=0x20001 (has clip) (has extras) }
So that's why I wanted to see if that third method of inserting the telnum would work, but I didn't know how to do a "Intent.setData" with B4A's Intent object.