Incoming call broadcast receiver not working (Android 4.1)

前端 未结 2 1797
半阙折子戏
半阙折子戏 2020-12-19 11:44

I\'m trying to catch an incomming call broadcast but it isn\'t working.

This is my manifest:




        
2条回答
  •  隐瞒了意图╮
    2020-12-19 12:04

    Have you tried to add a broadcast receiver inside a service? A service is meant to stay active even when the application is closed/minimized. Check this link

提交回复
热议问题