Skip to content

Notification Services (GeoFence, Calendar)

Warren Applebaum edited this page Apr 14, 2014 · 1 revision

Overview

A Notification Service is a process that once registered in the manifest can listen for predefined events and respond by notifying the user via an Android Notification.

Using this method we can serve content directly to our users in a highly visible manner. Combining the a Notification with a background Service; we can begin to dynamically inform the user about any events we care to write.

In this example we will cover Notification Services of the following types:

  • Notifications on a Timed Service
  • Notifications on a GeoFence

Usage

Creating the Service

Creating the Notification

Scheduling Notification on Timed Event

Adding GeoFence Service

GeoFence Notifications

References

Finding these guides helpful?

We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.

Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.

Interested in ramping up on Android quickly?

(US Only) If you are an existing engineer with 2+ years of professional experience in software development and are serious about ramping up on Android quickly, be sure to apply for our free evening 8-week Android bootcamp.

We've trained over a thousand engineers from top companies including Apple, Twitter, Airbnb, Uber, and many others leveraging this program. The course is taught by Android experts from the industry and is specifically designed for existing engineers.

Not in the United States? Please fill out our application of interest form and we’ll notify you as classes become available in your area powered by local organizers.

Clone this wiki locally