Can I hang up a call programmatically in android?

前端 未结 4 1672
慢半拍i
慢半拍i 2020-12-04 09:00

I hope to block some crank call, so I need to hang up some call programmatically in android.

The following fragment is from How to hang up outgoing call in Android?<

4条回答
  •  [愿得一人]
    2020-12-04 09:28

    Does it mean the technique of hang up call will be block at any time in further Android version?

    There's a possibility that Android Team would turn everything upside down for this concrete service. As for me, I think such possibility is pretty negligible.

    Does it mean I can't write an app to hang up a call?

    If the proposed approach works, why not? Just do it, keeping in mind (somewhere in background of your mind, yeah :)) that somewhere in the distant future something could get complicated, and you'll have to look for another dirty hack breaking through the rustless API, which does not allow you to hang a call.

提交回复
热议问题