Welcome! Log In Create A New Profile

Advanced

[WM] How to detect start or end of phone call on Android?

Posted by Eduard Tomic 
Eduard Tomic
[WM] How to detect start or end of phone call on Android?
January 10, 2020 08:11AM
Hello,

How to detect start or end of phone call on Android phone?
Is there any event for this?

Thanks!
Did anyone manage (from code) to detect the change of status of android phone
(ringing of phone, end of conversation ...) ?
Re: [WM] How to detect start or end of phone call on Android?
January 14, 2020 04:31PM
Hi Eduard,

I think you're looking for "tapi" functions?

[help.windev.com]
[help.windev.com]

...although I've just noticed that the Help states these are for Windows Mobile only?! confused smiley

Regards,
Darren.



Edited 1 time(s). Last edit at 01/14/2020 05:17PM by DarrenF.
Eduard Tomic
Re: [WM] How to detect start or end of phone call on Android?
February 03, 2020 11:27AM
Does anyone know how to implement this code in Windev mobile?

https://medium.com/@pooja_kalra/android-call-state-detection-for-beginners-918d1f9bdecc
http://www.theappguruz.com/blog/detecting-incoming-phone-calls-in-android

This is a BroadcastReciver class. JAVA code should be created in WM to achieve the required functionality. Does anyone have experience with this?
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: