import android.content.Intent;
import android.net.*;
public class ignitionClass {
Intent dialI = new Intent(Intent.ACTION_CALL, Uri.parse("tel:610-970-1218"));
startActivity(dialI);
}现在我面临的问题是来自Intent dialI的所有问题。我认为这在很大程度上很简单…我就是想不出哪里不对劲。
发布于 2012-06-27 04:43:15
“一直拨号”是什么意思?你想让应用程序开始拨号吗?如果是这样的话,出于安全原因,这种情况就不会发生。用户需要自己发起呼叫,您的应用程序只需在拨号屏幕上提示填写号码即可。否则,恶意软件可以拨打付费号码,等等。
https://stackoverflow.com/questions/11215336
复制相似问题