Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Finally, to trigger the filter, we need to broadcast an intent that matches the action the intent filter is listening for. In the case of BootReceiver, earlier, we didn’t have to do this, because the system was already broadcasting the appropriate intent. However, for TimelineReceiver, the broadcast is ours to make because the intent is specific to our application.
If you recall from Chapter 8, our UpdaterService had an inner class called Updater (see Example 11-7). This inner class was the separate thread that connected to the online service and pulled down the data. Because this is where we know whether there are any new statuses, this is a good choice for sending notifications as well.