Android
Programming and Technical
Programming
Technical
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
Read Solution (Total 1)
-
- 2. Register reciever in that activity so that it will bound to activity life cycle.
- 6 years agoHelpfull: Yes(0) No(0)
Android Other Question