8

What is the difference between a Listener and a Receiver (Android)?

view full story
linux-howto

http://stackoverflow.com – For instance, I need a BroadcastReceiver to get these events: REBOOT or SHUTDOWN SCREEN ON or OFF battery status (voltage, plugged in, temperature) physical button presses (camera, media, etc.) But I need Listener to get these events: EventListener for sensor events (acceleration,magnetic fields, orientation, proximity, temperature, light level, etc.) LocationListener for location events (Network location, GPS) It seems like both Receivers and Listeners both exist so that I can receive events. Other than the obvious semantic differences, what are the difference between the two? Are (HowTos)