scsjc Well-Known Member Licensed User Longtime User Oct 31, 2018 #1 I currently use PhoneEvents to know when a "RINGING", "OFFHOOK", "IDLE" is done, but it only works since the application is started. I need to know if the phone is "RINGING", "OFFHOOK", "IDLE" when the application is launched from the "actvitiy_create" / "starter_create"
I currently use PhoneEvents to know when a "RINGING", "OFFHOOK", "IDLE" is done, but it only works since the application is started. I need to know if the phone is "RINGING", "OFFHOOK", "IDLE" when the application is launched from the "actvitiy_create" / "starter_create"
Erel B4X founder Staff member Licensed User Longtime User Oct 31, 2018 #2 You need to create a static intent filter with this action: android.intent.action.PHONE_STATE Example: https://www.b4x.com/android/forum/t...ad_phone_state-to-manifest.21780/#post-126148 Don't use the starter service for this. Upvote 0
You need to create a static intent filter with this action: android.intent.action.PHONE_STATE Example: https://www.b4x.com/android/forum/t...ad_phone_state-to-manifest.21780/#post-126148 Don't use the starter service for this.