Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
几乎所有与调用有关的事情都是在 Android 中的较低级别处理的(程序员可能无法控制)。应用程序可以转到呼叫屏幕并为用户发起呼叫,但这通常是应用程序的控制结束的地方。
为了接受呼叫,有一些应用程序可以执行必要的操作。 此处< /a>.这是 Android 的自动应答服务。
Almost anything to do with a call is handled at a lower level in Android (control of which may not be available to the programmer). The application can go up to the call screen and initiate a call for the user, but that is usually where the control of the application ends.
For accepting calls, there are some applications that may do the necessary things. Check this application here. This is an automatic answering service for Android.
Android 中无法控制通话。我们只有 TelephonyManager 类,它允许您监听电话呼叫状态,但不控制它。
There's no way to control call in Android. We only have the TelephonyManager class which allows you to listen to phone call states, but not control it.