Dynamic Registration vs Static Registration of BroadcastReceiver
All of us known we register BroadcastReceiver in two types 1)Static Registration 2)Dynamic Registration But my doubt is when we need to use Static and when we need to use Dynamic ? Jitesh Upadhyay As we know there are two ways to register a BroadcastReceiver ; one is static and the other dynamic . Static: Use tag in your Manifest file. (AndroidManifest.xml) Not all events can be registered statically. Some events require permissions. Dynamic: Use Context.registerReceiver() to dynamically register an instance. Note: Unregister when pausing. When we are doing dynamic registration (i.e. at run