Registering Services and Broadcast Receivers


Build your own Android App Dev Empire

Get Instant Access

All application components are defined within the Android manifest file. In addition to activities, all services and broadcast receivers must be registered within the Android Manifest file.

■ Services are registered using the <service> tag.

■ Broadcast Receivers are registered using the <receiver> tag.

Both Services and Broadcast Receivers use intent filters.You learn much more about services, broadcast receivers, and intent filters later in the book.

Registering Content Providers

If your application acts as a content provider, effectively exposing a shared data service for use by other applications, it must declare this capability within the Android manifest file using the <provider> tag. Configuring a content provider involves determining what subsets of data are shared and what permissions are required to access them, if any.

Wo talk more about content providers in Chapter 11, "Sharing Data Between Applications with Content Providers."

Was this article helpful?

0 0
Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook

Post a comment