Android实现打电话的功能-使用Intent和AndroidManifset.xml中加入权限

2014-11-24 14:04:14 · 作者: · 浏览: 5

二 :Activity中进行获取EditText中的电话号码,然后点击,使用Intent(意图)进行实现打电话的功能


Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:"+ mobile));






核心源代码 (包自己去引)


strings.xml