How to get phone number from an incoming call?

后端 未结 7 1499
太阳男子
太阳男子 2020-11-27 13:45

How do I get the phone number when there is an incoming call in Android?

7条回答
  •  温柔的废话
    2020-11-27 14:27

    By using the accepted answer, you will register a new listener with every change of the call state. It will result in multiple onCallStateChanged calls for same event.

提交回复
热议问题