Latest Android Aptitude Question SOLUTION: Trigger broadcast receiver only if my activity is in memory, else it should not get triggered, how to do it?
Options
1) Send broadcast only when your activity is alive
2) Register
Trigger broadcast receiver only if my activity is in memory, else it should not get triggered, how to do it?
Options
1) Send broadcast only when your activity is alive
2) Register a dynamic receiver in that Activity
3) Register a static receiver in manifest file
4) It is not possible to achieve