A Alex_197 Well-Known Member Licensed User Longtime User Nov 27, 2020 #1 Hi all. Is it possible to block incoming calls? My app synchronizes with a server by using OkHTTPUtils2. Let's say I sent a request and waiting for a JobDone event to get a server response. At the same time an incoming call received. User accepted this this call and now my app get paused and I've no idea whether my request was processed by the server, what was a response and so on. So I want to block incoming calls while I sync the data with a server and allow it again after synch finishes. My app is default, not B4XPages. Thanks.
Hi all. Is it possible to block incoming calls? My app synchronizes with a server by using OkHTTPUtils2. Let's say I sent a request and waiting for a JobDone event to get a server response. At the same time an incoming call received. User accepted this this call and now my app get paused and I've no idea whether my request was processed by the server, what was a response and so on. So I want to block incoming calls while I sync the data with a server and allow it again after synch finishes. My app is default, not B4XPages. Thanks.
DonManfred Expert Licensed User Longtime User Nov 27, 2020 #2 You can try this post (and the following) How to use BlockedNumberContract & BlockedNumberContract.BlockedNumbers ? Hi, I want to use these API to handle 'Block incoming-call' in my app. How to do it ? Thanks ! www.b4x.com But i fear it may not work if your app is not the default device dialer app. Upvote 0
You can try this post (and the following) How to use BlockedNumberContract & BlockedNumberContract.BlockedNumbers ? Hi, I want to use these API to handle 'Block incoming-call' in my app. How to do it ? Thanks ! www.b4x.com But i fear it may not work if your app is not the default device dialer app.