A Few Notes about the Project Download File

This chapter has two projects: one to test the broadcast receiver (called TestBCR) and one to test the stand-alone receivers, including the long-running receiver and service (called StandaloneBCR). Both these projects are zipped and available in the download file; the URL for this is listed in the “References” section. We strongly suggest that you download the ZIP file and unzip it to see these projects individually.

Once you compile these projects in Eclipse, we suggest that you deploy StandaloneBCR first on the device. This is a headless .apk file. Then you install the menu-driven TestBCR application. This TestBCR application will present menus to kick off broadcast events.

These events will be responded ...

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.