Top "Broadcastreceiver" questions

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

Weird "Receiver not registered" exception

In onResume() I do: registerReceiver(timeTickReceiver, new IntentFilter(Intent.ACTION_TIME_TICK)); and in onPause(): unregisterReceiver(timeTickReceiver); I see "java.…

android broadcastreceiver
How to send a custom broadcast action to receivers in manifest?

MyReceiver.java public class MyReceiver extends BroadcastReceiver { @Override public void onReceive(final Context context, final Intent intent) { Log.i("MyReceiver", "…

android broadcastreceiver android-manifest android-broadcast
Android keep BroadcastReceiver in background

I created a BroadcastReceiver and it runs only when my app shown in recent apps menu. If I remove my …

android broadcastreceiver android-service background-process android-broadcast
A way to get unlock event in android?

Is there a way to receive something like PHONE_UNLOCKED (with a BroadcastReceiver of some kind)? I have a service …

android broadcastreceiver lockscreen
Creating a Notification at a particular time through Alarm Manager

I am trying to create a notification at a particular time. Im creating a broadcast receiver and calling it through …

android broadcastreceiver alarmmanager android-pendingintent android-alarms
LocalNotification with AlarmManager and BroadcastReceiver not firing up in Android O (oreo)

I've got my local notifications running on androids prior to SDK 26 But in a Android O I've got the following …

android broadcastreceiver alarmmanager android-8.0-oreo
Start IntentService from Activity and refresh Activity when IntentService is finished

In my Android application, I have a simple list view with adapter. There's a heavy query which is to fill …

android multithreading android-intent broadcastreceiver android-activity
Communication between BroadcastReceiver and Activity - android

I have a broadcast receiver in my app which is fired every time the user gets an incoming call. Now, …

android android-activity methods broadcastreceiver invoke
I can't receive broadcast on battery state change?

I am having the exact same problem as this post: Battery broadcast receiver doesn't work. But it seems no one …

android broadcastreceiver battery
AlarmManager and BroadcastReceiver instead of Service - is that bad ? (Timeout)

BACKGROUND INFO: I need to update some data from the web, about every hour or so, even when my app …

android service broadcastreceiver alarmmanager