I am developing an app where I have to backup contacts to cloud storage. For that, I suppose I need a VCF file. But how to get the VCF file so that I can upload it to cloud storage? I can only get vcf file with share intent. Is there another way?
Intent shareIntent = ContactShareKt.shareVCardIntent(contacts); if (shareIntent != null) { v.getContext().startActivity(Intent.createChooser(shareIntent, null)); }