Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
88 views
in Technique[技术] by (71.8m points)

Prevent calls on android / without rejecting them

I wonder if it is possible to build an application for Android that waits for incomming calls and only allows the ones that are in an internal white list to show and make sound.

I know this is what a normal call blocker would do and I know that it is possible..however what I really want is:

| If a call arrives that is not in the white list, I dont want to reject it, I dont want the caller to know the call was rejectes. I just want my app to be aware of it but make it invisible to the current phone app. I could mute the phone and the call wouldn't ring but the phone app would still popup in front of everything or at least on the status bar.

| If a call arrives and it is in the white list then the app would do nothing..just allow the phone app to treat it.

I think I can do this by implementing my own dialer app, but would much preffer not having to do that and just use whatever the user already has.

Thank you Carlos

question from:https://stackoverflow.com/questions/65862222/prevent-calls-on-android-without-rejecting-them

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...