在android编程中,是否可以在服务中调用电话而不显示“电话调用屏幕”?任何例子都会非常有帮助。提前致谢。
最佳答案
In android programming, is it possible to make a phone call within a service without showing the 'phone call screen'?
这取决于您认为“电话调用屏幕”是什么。
如果您指的是拨号器,那么,是的,您可以使用 ACTION_CALL
Intent
来绕过它,假设您持有 CALL_PHONE
许可。
如果您指的是通话中屏幕,那么,不,据我所知,没有办法避免该屏幕。该屏幕对于用户来说相当重要。
关于通过应用程序调用 Android 电话,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13962680/