私のアプリケーションでは、特定の連絡先アイテムを.vcfファイルとしてバックアップし、正常に動作していますが、外部アプリを使用せずに連絡先を復元する必要があります
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(storage_path+vfile)),"text/x-vcard"); //storage
startActivity(intent);
私のアプリケーションでは、特定の連絡先アイテムを.vcfファイルとしてバックアップし、正常に動作していますが、外部アプリを使用せずに連絡先を復元する必要があります
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(storage_path+vfile)),"text/x-vcard"); //storage
startActivity(intent);