![](/img/trans.png)
[英]use standard phone app to “complete an action” of phone call in android
[英]Android app interface with standard phone call
我想知道是否有可能創建一個在用戶接到電話后在后台激活的應用程序? 如果有可能,我想知道在哪里可以找到有關應用程序如何與電話交互的更多信息。
例如,是否可以在通話過程中關閉/打開麥克風或對其進行攔截,在后台添加聲音等。
您可以使用Android API中提供的“廣播接收器”。
這里有關於這些的教程(特定於您的問題):
http://androidexample.com/Incomming_Phone_Call_Broadcast_Receiver__-_Android_Example/index.php?view=article_discription&aid=61&aaid=86
還有一個:
http://www.vogella.com/tutorials/AndroidBroadcastReceiver/article.html#tutorial_receiver
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.