如何在没有意图的情况下以编程方式拨打电话 [英] How to make a phone call programatically without Intent

查看:76
本文介绍了如何在没有意图的情况下以编程方式拨打电话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是android上的新手,我想不使用intent拨打电话.

I'm new on android and i want make phone call without use the intent.

我知道这段代码:

Intent intent = new Intent(Intent.ACTION_CALL);

intent.setData(Uri.parse("tel:" + bundle.getString("mobilePhone")));
context.startActivity(intent);

我可以在不使用"Intent"的情况下以编程方式在android中拨打电话吗?

Can i make call in android programmatically without use "Intent"?

你有答案吗?

谢谢

推荐答案

我可以在不使用意图"的情况下以编程方式在android中拨打电话吗?

Can i make call in android programmatically without use "Intent"?

不是来自普通的Android SDK应用程序.自定义ROM mod当然可以.

Not from an ordinary Android SDK app. A custom ROM mod certainly could.

这篇关于如何在没有意图的情况下以编程方式拨打电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆