How to send vcard as sms / mms?

Hi everyone, I am working on an application that has vcard send functions (vcf files), Ive generated a vcf file of a specific contact and was able to send it via email, but I want to send it using sms / mms function and cannot do so.Ive went through the forum, in many questions they suggested sendDataMessage but this is not a wokring for me. In some solutions they suggested Intent.EXRTA_STREAM but it also doesn't work, so please give me an alternative way to send vcard from my app or try to provide some code. Thanx


source to share

1 answer

How did you generate the .vcf

vcard. then you can attach this file to the system intent to send it as MMS.

    Intent sendIntent = new Intent(Intent.ACTION_SEND);




All Articles