Using BroadcastReceiver with functionality of PhoneStateListener

前端 未结 3 976
遇见更好的自我
遇见更好的自我 2021-01-06 09:09

I am trying to make a MissCall App which sends a message automatically when a miss call is received.I had completed my app and it worked fine !
Here is

3条回答
  •  离开以前
    2021-01-06 09:47

    try creating a bootbroadcast receiver,and in its on receive start your service to detect calls.this ensures that your service gets activated automatically after each device restart.

提交回复
热议问题