Skip to content Skip to sidebar Skip to footer
Showing posts with the label Broadcastreceiver

Android.net.wifimanager Cannot Be Resolved To A Variable

I have this class in my MainActivity to detect Internet Connection and wifi scanning result. I am g… Read more Android.net.wifimanager Cannot Be Resolved To A Variable

Telephonymanager.call_state_ringing Calls Twice While One Call Ringing

I use descendant - class of PhoneStateListener: class CallStateListener extends PhoneStateListener… Read more Telephonymanager.call_state_ringing Calls Twice While One Call Ringing

Broadcast Receiver Not Calling Service While App Was Killed

My target was Restarting the Service when app is in background or even killed from home page by swe… Read more Broadcast Receiver Not Calling Service While App Was Killed

How Can I Make This Phone Call States Broadcast Receiver To Work All The Times?(non-stops)

I'm creating an application, which will show toast messages before and after the call states. I… Read more How Can I Make This Phone Call States Broadcast Receiver To Work All The Times?(non-stops)

No Enclosing Instance Of The Type Mainactivity Is Accessible In Scope

I have this code, which i want to get GPS latitude and longitude from GPSTracker class But the erro… Read more No Enclosing Instance Of The Type Mainactivity Is Accessible In Scope

Broadcastreceiver's Behaviour For Action_shutdown

I have BroadcastReceiver which listens for ACTION_SHUTDOWN and some other actions. My problem is,… Read more Broadcastreceiver's Behaviour For Action_shutdown

Run Service On Incoming Sms In Android Oreo

I'm developing an app which needs to run some code (Networking) whenever an SMS is received. I… Read more Run Service On Incoming Sms In Android Oreo

Android Activity Not Getting Broadcast From Local Service

From the examples this looked straightforward. Maybe you can show me what I did wrong. I can't … Read more Android Activity Not Getting Broadcast From Local Service

Boot_completed Never Received

Does every device send the BOOT_COMPLETED? I want to start an Activity on Boot Completed. I put the… Read more Boot_completed Never Received

Exactly How Much Power Is Drained By Registering A Broadcast Receiver For Action_battery_changed?

I am planning to write an app whose sole purpose will be to monitor the battery level, and launch a… Read more Exactly How Much Power Is Drained By Registering A Broadcast Receiver For Action_battery_changed?

Android Passing Data From Activity To Broadcastreceiver Shows Null

I've got an activity which uses an AlarmManager to call a BroadcastReceiver at a particular poi… Read more Android Passing Data From Activity To Broadcastreceiver Shows Null

Broadcast Receiver Working On Emulator But Not On Working Real Device (android Oreo)

Broadcast receiver it's work perfectly when I kill my application it work in background. but i … Read more Broadcast Receiver Working On Emulator But Not On Working Real Device (android Oreo)

How To Programmatically Answer A Call In Android 4.0.3?

So as the subject states I need to be able to answer a phone call programmatically in Android 4.0.3… Read more How To Programmatically Answer A Call In Android 4.0.3?

How To Make A Broadcast Receiver Catch ( Menu, Volume, Home....... ) Button Click?

i want my broadcast receiver to be invoked when clicking on(menu, volume or any other possible butt… Read more How To Make A Broadcast Receiver Catch ( Menu, Volume, Home....... ) Button Click?

Android Reschedule Alarmmanager Alarm When App Is Killed

I've developed an app to schedule multiple local notifications to remind users to do something.… Read more Android Reschedule Alarmmanager Alarm When App Is Killed

Android Broadcast Receiver Error: Class Not Found Exception

I have a Broadcast receiver setup so that a pop-up message is displayed to the user after each upgr… Read more Android Broadcast Receiver Error: Class Not Found Exception

Broadcast Receiver And Internet Connection

How do I use broadcast receiver to check if there isn't Internet connection? And after that: 1.… Read more Broadcast Receiver And Internet Connection

Alarmmanager Not Called Next Day If The App Sleeps For Abt 1 Day

I am developing an android app which shows a notification every 12 hour if the time is saved in the… Read more Alarmmanager Not Called Next Day If The App Sleeps For Abt 1 Day

Incoming Call Broadcast Receiver Not Working (android 4.1)

I'm trying to catch an incomming call broadcast but it isn't working. This is my manifest: … Read more Incoming Call Broadcast Receiver Not Working (android 4.1)

Pass A Value From Activity To Broadcastreceiver And Start A Service From The Broadcast Receiver

I have an activity. It contains a button whose text changes dynamically. I would like to pass thi… Read more Pass A Value From Activity To Broadcastreceiver And Start A Service From The Broadcast Receiver