How to get phone number from an incoming call?

后端 未结 7 1515
太阳男子
太阳男子 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:30

    you can find solution here

    Bundle bundle = intent.getExtras();
    String phoneNr= bundle.getString("incoming_number");
    

提交回复
热议问题