D Dario75 New Member Jul 15, 2021 #1 Hello, I need to make an app to receive an incoming voice call and respond with an announcement. Is it possible to do that with B4A?. Is there any library with this functionality? thanks!
Hello, I need to make an app to receive an incoming voice call and respond with an announcement. Is it possible to do that with B4A?. Is there any library with this functionality? thanks!
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2021 #2 It will be difficult and the result will be far from perfect. You can add a static intent filter that intercepts the android.intent.action.PHONE_STATE intent. You need to add and request at runtime: android.permission.READ_PHONE_STATE You can extract the incoming phone number and play a sound. It will not stop the default phone app. Upvote 0
It will be difficult and the result will be far from perfect. You can add a static intent filter that intercepts the android.intent.action.PHONE_STATE intent. You need to add and request at runtime: android.permission.READ_PHONE_STATE You can extract the incoming phone number and play a sound. It will not stop the default phone app.