B4A Question Hang up phone call from phone impossible? - Erel (first post)    Mar 23, 2021 possible in B4A.
It is possible to answer phone calls in Android 8+: https://www.b4x.com/android/forum/threads/auto-answer-call.109221/
There is an endCall method in Android 9+ that you can call in a similar way:
https://developer.android.com/reference/android/telecom/TelecomManager#endCall()... B4A Question Hang up WhatsApp calls! - BenKhederSoftware (first post)    Apr 7, 2022 Unfortunately, I haven't found any code to hang up until now.
Thanks for the reply from DonManfred.
You're right, it seems like there is no solution.
If someone knows a solution, it would be good.
If not, I just have to omit the function in my APP.
Thanks... B4A Question How to Hang up a call - Jmu5667    Jan 25, 2012 Hi
I have made a call using StartActivity(p.call(<number>)). I was wondering how do i hang up the call.
The application I am currently writing will get turned into a service, but for... B4A Question Receive Call, Hang Up, Make Call, Custom UI - Erel (first post)    Oct 31, 2011 Making a call is already possible with the Phone library.... B4A Question Hang Up Incoming Calls - bsnqt (first post)    Oct 12, 2013 The code above should work (KillCall).
Use PhoneStateListener ("PSL").
Sub PSL_onCallStateChanged (State As Int, incomingNumber As String)
KillCall
End Sub
Try to add this:
AddPermission("android.permission.READ_PHONE_STATE") (you may not need it, as you are using... if your Service is still running when you receive the call. For this you may want to create a Sticky... B4A Question Automatically hang up phone call when busy? - arenaluigi (first post)    Jul 25, 2012 this:
http://www.b4x.com/forum/bugs-wishlist/19714-end-call-incoming.html
:sign0098:... B4A Tutorial SMS and CALL_LOG permissions are no longer available - Erel    Oct 10, 2018   (12 reactions)   tags: #PAIN Google has changed their policy regarding the following permissions: READ_SMS, SEND_SMS, WRITE_SMS, RECEIVE_SMS READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS Only the default phone or messaging apps can use these permissions: https://support.google.com/googleplay/android-developer/answer/9047303?hl=en This is relevant for Google Play apps. The following types of objects can no longer be used: - CallLog - SmsMessages - PhoneSms - SmsInterceptor (and the equivalent static intent... B4A Question Abort sub call on timeout - mmanso    Aug 12, 2021 Hi all
I’m calling a print function from an external library and when the printer is out of paper the print sub hangs and everything freezes for 2 minutes.
Is there any way to call a sub... but as soon as the sub call hangs, everything hang.
thanks in advance.... Bug? [SOLVED] B4I 6.80 (beta) hangs on startup - Star-Dust    Jul 7, 2020 I'm sorry @Erel, But I just installed it and it clicks me to the home screen 96740... B4A Question can you help me with a simple answering machine? - Erel (first post)    Dec 31, 2012 Hanging a call is problematic. See these discussions: Basic4android Search: hang call
You can get the phone number by listening to the PhoneStateChanged event with PhoneEvents.... Page: 1   2   3   4   5   6   7   |