Intent を介して SMS を送信すると、例外が発生しますandroid.content.ActivityNotFoundException: Intent を処理するアクティビティが見つかりません
以下の私のコードを参照してください:-
try {
Intent sendIntent = new Intent(Intent.ACTION_SENDTO,Uri.parse("smsto:5551212;5551212"));
sendIntent.putExtra("sms_body", sendSMSStringOnCustomCheckIn());
sendIntent.setType("vnd.android-dir/mms-sms");
startActivity(sendIntent);
} catch (Exception e) {
Toast.makeText(getApplicationContext(),
"SMS faild, please try again later!",
Toast.LENGTH_LONG).show();
e.printStackTrace();
}
SMS を 2 人の電話番号に送信したいのですが、デフォルトの SMS ボックスの受信者ボックスに両方の電話番号が表示されている必要があります。