AndroidCallBlockingTestDemo
AndroidCallBlockingTestDemo copied to clipboard
does it still work with latest versions?
does it still work with latest versions?
I've had reports that it does not. Haven't had a chance to look into it. On what devices did you test?
According to this; since API 26 the TelephonyManager now exposes a endCall() method.
Which of course is cleaner then accessing ITelephony methods using reflection that may or may not work depending on phone and Android version.
Disclaimer: I don't have AndroidStudio available at this moment to check if it actually works. I will however check later.
hi all, i am thinking of starting a similar project. but i want a implement that can receive the call automatically. i have found some pages, but still no idea. can some one give me some hint? thanks a lot.
I guess something along these lines would work....
TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
if (Build.VERSION.SDK_INT >= 28){ tm.endCall(); }
Thanks for the great project btw!
I tried on Android 9, and it requires READ_CALL_LOG
in order to get the incoming call number.
Though I still couldn't reject calls, maybe an additional permission is required for that.
But I found an interesting API that could be useful (CallScreeningService
):
https://developer.android.com/reference/android/telecom/CallScreeningService
Maybe it fits the purposes of the project?
I am working on a similar app, and thanks for sharing the project!
this code is not working for android 10 can you share relevant example of android 10 ?
I'm not actively maintaining this repo. Please feel free to create a PR.
On Tue, 13 Oct 2020 at 21:21, hirenmotwani [email protected] wrote:
this code is not working for android 10 can you share relevant example of android 10 ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Hitman666/AndroidCallBlockingTestDemo/issues/1#issuecomment-707956254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHUM2HO3IV3JXQ3KQJXTYLSKSSFBANCNFSM4FAH452Q .
Hello, I'm doing research to automatically turn off incoming calls, I couldn't run your project. I'm looking for a current working project, I couldn't find the encall method working in any way, I need this method, I would be grateful
I have tried to update the code and resolve some of these issues. Please take a look at #7
Kodu güncellemeye ve bu sorunlardan bazılarını çözmeye çalıştım. Lütfen #7'ye bakın
It is very nice if it can turn off the call screening service without violating security policies in Android 8.1, 9, 10, 11, 12 and 13+ versions. Thank you, I will evaluate your code.