Top "Broadcastreceiver" questions

BroadcastReceiver is an Android component that responds to system-wide broadcast announcements.

Enable and disable a Broadcast Receiver

I try to enable and disable a broadcast receiver by using this PackageManager method: setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_…

android broadcastreceiver
How to handle the Firebase notification when app is in foreground

I have integrated Firebase Cloud Messaging with my application. When I sent a notification from the Firebase console, if the …

android broadcastreceiver firebase-cloud-messaging
Android - Getting context from a Broadcast receiver onReceive() to send to

I basically want to make an intent and pass it to a service from my BroadcastReceiver's onReceive(). So far I …

android android-intent service broadcastreceiver android-context
How to repeat notification daily on specific time in android through background service

Hi I am working on application where I have set the notification on user entered date and time through background …

android service broadcastreceiver alarm
Android-Broadcast Receiver and Intent Filter

I am new to android platform.please help me out how the Broadcast Receiver and Intent Filter behaves in android.…

android broadcastreceiver intentfilter
Android: How to get a list of all available intent filters?

I have search Android docs and for some insane reason I am not able to find the list of all …

android android-activity broadcastreceiver intentfilter
android - "Exported receiver does not require permission" on receivers meant to receive from system services

I have some receivers declared in my AndroidManifest : <!-- no warning --> <receiver android:name=".receivers.TriggerMonitoringBootReceiver" …

android broadcastreceiver android-manifest android-permissions android-broadcastreceiver
How to trigger broadcast receiver when gps is turn on/off?

public class BootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().matches("android.location.PROVIDERS_…

android gps broadcastreceiver location-provider
How to detect Bluetooth state change using a broadcast receiver?

I am trying to make an app that shows a toast when the device's Bluetooth turned on. I wanna do …

android bluetooth broadcastreceiver android-permissions
BroadcastReceiver and AlarmManager Android

I am trying to use an alarm manager with BroadcastReceiver. I try to use the example given in Tutorial: System …

android broadcastreceiver alarmmanager android-alarms