I am using Broadcast Receiver to run a background process when Internet connection is available . I'm specifying "android.net.conn.CONNECTIVITY_CHANGE" in intent filter's action. My problem is that it ...

I've created a BroadcastReceiver to receive ACTION_DOWNLOAD_COMPLETE when my app starts downloading something using DownloadManager. As I want to capture ACTION_DOWNLOAD_COMPLETE only when downloading ...

I have a Google Glass paired to a phone running Android Lollipop, I want to use a Broadcast Receiver in Google Glass to handle an incoming call and eventually customize the call interface. I have been ...

I had setup AlarmManager in my MainActivity class.
A class called AlarmReceiver gets fired up for every set interval of time.
I have to perform an operation when that class is fired up. That code is ...

I want to get GPS location. I have the code in other project that use normal activity for GPS and it's work good , But I want to get location in background .
When I add codes in service ,it doesn't ...

I have an AlarmManager that is set in a BroadcastReceiver subclass using a Service subclass as the context. The AlarmManager is not firing. I know that the AlarmManager is being set with the correct ...

I want to pass extras with my pending intent when I set an alarm to be picked up by my receiver in onReceive and then passed on as extras in my receive intent to be picked up by my scheduling service ...

I am trying to call from my BroadcastReceiver(ReceiverSchedule) to call a method (CancelSchedules) in my Activity(ViewScheduleActivity). The main problem I have is that it the Activity becomes null on ...

Is there a way to detect that the device is turned on but the BOOT_COMPLETED broadcast? I know I can catch the Broadcast with a BOOT_COMPLETED RECEIVER, but is there anything that is fired directly ...

I have a broadcast receiver that gets fired whenever a download finishes in the system. What i want to do is to send the result of this receiver to my fragment where i update the views.
Currently i ...

I am trying to verify 6 digit number through my APP. I would like to do this automatically once I receive a specific text message.
I have a separate broadcast receiver file that can receive message. ...

I have a crash that keeps occurring on 4.4.2 and 4.4.3 devices (although I'm not sure this is an API issue), where in some ParsePushBroadcastReceiver the following code causes a NullPointerException ...

I have a Broadcastreceiver in my ReceiverApp, which I call from my SenderApp and this works fine.
I would like to call a method of the Activity in my ReceiverApp.
How can I do that with the following ...

I have the following situation:
I have 2 Apps. One is a free edition (App_free) and I have an unlocker App (App_unlock), which can be bought on GooglePlay.
My App_free holds the entire Applogic and ...

Hello guys i have tried to get this code to work for so long.. Its a notification that pops up every day on exact hour. Some of the code in MyAlarmService is depricated but should still work.. Help ...

I have an application where internet connectivity is must. So, what I want, is that whenever user gets disconnected from Internet (Wifi or Mobile), the Activity should be able to detect the network ...

I am trying to use BroadcastReceiver inside my service but it is not working properly.
I am starting my service in an onCreate in my activity. Then in the services onCreate I am calling the following ...

I am trying to make an application where my purpose is to override the default ringtone and caller screen during the call for a particular contact using broadcast receiver. I already did the caller ...

I'm trying to implement my first JSON push notification with Parse.com, I've implemented the regular push notification and it worked properly. What I'm missing here that I can't find a complete guide ...

My launch Activity is A.
In A, I have a BroacastReceiver that I want to unregister only if the application (and not only the activity) is not visible anymore.
So, if I launch activity B, A still gets ...

I'm going to publish a series of apps and I want to be able to display notifications to users who have installed any of these apps via GCM. but when there are multiple apps installed on each device, ...

I have registered a BroadcastReceiver to receive ACTION_HEADSET_PLUG which works fine for most devices, ie it is called whenever the headset is plugged or unplugged. But on others eg the ZTE T815, the ...