Android O : PHONE_STATE broadcast limitation

后端 未结 6 1920
一整个雨季
一整个雨季 2021-02-06 22:12

I have been trying to do something similar to truecaller app, where my app is supposed to show a screen after a call gets hung up. Was achieving this by registering androi

6条回答
  •  执念已碎
    2021-02-06 23:03

    You have only one solution, use a foreground service and register the broadcast receiver in the service.

提交回复
热议问题