开发者

How to let Android user to decide whether to answer a call or not?

开发者 https://www.devze.com 2023-02-28 02:09 出处:网络
I\'m writing a small app where I don\'t want the current activity to automatically switch to the phonecall app upon an incoming call.

I'm writing a small app where I don't want the current activity to automatically switch to the phonecall app upon an incoming call. I would like the us开发者_StackOverflow社区er to decide whether to do it or not from my app UI.

I know I can listen to state changes in the telephony but I don't know how to prevent from the phonecall app to take focus.

0

精彩评论

暂无评论...
验证码 换一张
取 消