Skip to content

JimSeker/BroadCastReceiver

Repository files navigation

BroadCastReceiver examples

eclipse/ is the examples for use in eclipse. This is no longer updated. The rest of the examples are in Android studio format.

BroadcastBoot: (java) Receives a broadcast on boot, that starts a alarm (since background services are no longer allowed in Oreo).

BroadcastBoot2: (java) Receives a broadcast on boot, that starts a Worker, which is allowed to run in the background.

BroadCastDemo1: (java) Simple implementation of a receiver with a static and dynamic registered intent-filter

BroadCastDemo1_kt: (Kotlin) Simple implementation of a receiver with a static and dynamic registered intent-filter

BroadCastDemo2: (java) Setup to receive intents about battery status and power status. it uses dynamic registered receivers to get the information.

BroadCastDemo2: (Kotlin) Setup to receive intents about battery status and power status. it uses dynamic registered receivers to get the information.

BroadcastNoti: (Java) A reimplementation of the notification demo, but using only receivers for the broadcast.

BroadcastNoti_kt: (Kotlin) A reimplementation of the notification demo, but using only receivers for the broadcast.


These are example code for University of Wyoming, Cosc 4730 Mobile Programming course and cosc 4735 Advance Mobile Programing course. All examples are for Android.

About

android Broadcast Receiver examples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published