-1
我想寫一個android應用程序,可以發送sb未接來電。這意味着應用程序調用約5秒。 我知道這段代碼開始調用。發送未接來電 - Android程序
private void call() {
try {
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:123456789"));
startActivity(callIntent);
} catch (ActivityNotFoundException e) {
Log.e("helloandroid dialing example", "Call failed", e);
}
}
但我不知道如何阻止它(5秒後)?
Ps.This question has mark-mark because the question is stupid or my english is bad?