Re: [android-developers] Re: What happens with the registered broadcast receivers after the application is killed?

2013-05-21 Thread Heila van der Merwe
Hi, Can somebody explain what happens to my broadcast receiver after the application is evicted from memory? If the BroadcastReceiver is dynamically registered by the Service, it will not be leaked if you make sure it is unregistered when the Service is destroyed. After the Service is

[android-developers] Re: What happens with the registered broadcast receivers after the application is killed?

2010-04-22 Thread mmonibi
What if my receiver is registered for the ACTION_BATTERY_CHANGED intent? As stated in the documentation, You can not receive this through components declared in manifests, only by explicitly registering for it with Context.registerReceiver(). Is there anyway to make sure my receiver is always

[android-developers] Re: What happens with the registered broadcast receivers after the application is killed?

2010-04-22 Thread mmonibi
What if my receiver is registered for the ACTION_BATTERY_CHANGED intent? As stated in the documentation, You can not receive this through components declared in manifests, only by explicitly registering for it with Context.registerReceiver(). Is there anyway to make sure my receiver is always

[android-developers] Re: What happens with the registered broadcast receivers after the application is killed?

2010-03-26 Thread Tughi
I had no idea I could do that with the components declared in the manifest. Thanks a lot! On Mar 25, 5:23 pm, Mark Murphy mmur...@commonsware.com wrote: Tughi wrote: Hi guys, I want to optimize the CPU usage in my application. Currently my application is configured to always receive the