Page 1 of 1

Call blocker

Posted: 06 Dec 2017 05:02
by tphg
I'm trying to make a flow for blocking the call number with certain national prefix, let say +77.
First I tried with a specific number to see if the call will be block.
But unfortunately, the action "End Call" that I used couldn't work on my phone which is not root yet.
Anyone know how to make this action to work. I overheard we could use some ADB command to enable this function, couldn't we?
Sorry that I have searched but could not find the solution.

Re: Call blocker

Posted: 23 Dec 2017 17:05
by akhileshg1988
What exactly do you mean by blocking a call?
What do you want Automagic to do?REJECT THE CALL AS SOON AS YOUR PHONE RINGS? OR WHAT?

Re: Call blocker

Posted: 25 Dec 2017 00:57
by tphg
akhileshg1988 wrote:What exactly do you mean by blocking a call?
What do you want Automagic to do?REJECT THE CALL AS SOON AS YOUR PHONE RINGS? OR WHAT?
Yes, I would like Automagic to reject the call as soon as my phone rings.
I sometimes received fraud phone call from some numbers so called satellite number like +22xxxxxx, +25xxxxxx,... and people warn that I should not pick the phone up otherwise I would be charged when connecting to such calls.
So I need to reject those calls so that they won't disturb me.

Re: Call blocker

Posted: 08 Feb 2018 17:48
by temp0rary
tphg wrote:I'm trying to make a flow for blocking the call number with certain national prefix, let say +77.
First I tried with a specific number to see if the call will be block.
But unfortunately, the action "End Call" that I used couldn't work on my phone which is not root yet.
Anyone know how to make this action to work. I overheard we could use some ADB command to enable this function, couldn't we?
Sorry that I have searched but could not find the solution.
Try out RCB instead. Root call blocker. Gets the job done much better then this app on call blocking.

Re: Call blocker

Posted: 09 Feb 2018 00:39
by tphg
temp0rary wrote:
tphg wrote:I'm trying to make a flow for blocking the call number with certain national prefix, let say +77.
First I tried with a specific number to see if the call will be block.
But unfortunately, the action "End Call" that I used couldn't work on my phone which is not root yet.
Anyone know how to make this action to work. I overheard we could use some ADB command to enable this function, couldn't we?
Sorry that I have searched but could not find the solution.
Try out RCB instead. Root call blocker. Gets the job done much better then this app on call blocking.
Thank to temp0rary for your recommendation. As I know, Root Call Blocker needs the phone to be rooted for it to work perfectly, doesn't it (my phone is unrooted one)?

Re: Call blocker

Posted: 09 Feb 2018 17:15
by Desmanto
It seems I missed your thread. Or Probably I ignore it because it is posted in the wrong subforum.

The most effective call blocker can only be implemented by the maker of the phone. It should blocked the number and doesn't generate any call event to the phone (or automagic). Or even more effective, call your carrier and ask them to block these specific scam number. When a lot of people report the same, hopefully they will take action and block it.

Meanwhile, if you don't have that function at your phone, you can use Control Ui to solve your problem. My phone also doesn't react to the action End Call. But you can always use Control UI to press the end call button. So the trigger is Incoming Call - Ringing. It will supply you the caller number. Check the number, if it is in the list of your blocked number, then use Control UI to press the End Call button at your phone. Mine is

Code: Select all

clickById("com.android.dialer:id/floating_end_call_action_button");
Of course, modify to suit your phone. To store the block list, you can just simply use a newList(), and put it into the script. Most likely the list is not too, so just store it inside the same flow.

This will still give you a split second of distraction when the number call and immediately got rejected. Not the best solution, but at least you won't accidentally answer the call. Since human reaction is at most 100-300 ms fast, but Automagic can be as fast as 4 ms (at Control UI it is slower, probably 50 ms). The rejected call probably also generate missed call notification, you might want to remove it too.

As for adb, it is possible to use input keyevent 6 (END_CALL). But to do it without root, you have to use Control UI too, and change the keyboard to Automagic Keyboard using Set Default Input Method, which require root. So not possible to do it, and the method also takes longer (need to change keyboard - send event - change back the keyboard).

Re: Call blocker

Posted: 10 Feb 2018 00:40
by tphg
Many thanks for your valuable and clear idea always.
Let me learn and try it, as so far I'm still not familiar with using script.

Re: Call blocker

Posted: 14 Feb 2018 06:55
by Xamgin
I am not quite sure about what exactly do you mean by blocking a call?

Re: Call blocker

Posted: 05 Oct 2018 19:09
by thecid.ia2002
pueden verificar acabo de hacer un flow para bloquear llamadas, se podra modificar para cualquier numero