【发布时间】:2014-04-09 10:01:30
【问题描述】:
我一直在寻找如何在 Android 中做到这一点,我发现了这个问题:
How to make a phone call in android and come back to my activity when the call is done?
这段代码的内容:
String url = "tel:3334444";
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(url));
这会打开拨号活动并拨打第二个参数中指定的号码。问题是我需要打开拨号活动而不立即开始拨号,但是第二个参数中的数字已经插入到数字文本框中。
【问题讨论】:
标签: android android-activity phone-call