Android Broadcast

How To Start Android Service Automatically At Boot Time

To start an android background service when the device boots, you should create a broadcast receiver, and make it listen to android.intent.action.BOOT_COMPLETED action. Then in the custom broadcast receiver’s onReceive method, you can start the background service.

How To Start Android Service Automatically At Boot Time Read More »

,

Android Local Broadcast Manager Example

Android global broadcast makes different android apps’ communication easy and clear, but it also has below security issues. Any android apps can send the same broadcast intent action which your application broadcast receiver listens. This issue can make your app being attacked. Any android apps can listen to your app’s broadcast receiver registered action. So

Android Local Broadcast Manager Example Read More »