Android Tutorial

(avery) #1

By : Ketan Bhimani


116 

same certificate to use that component for controlled application
inter operability.

Permissions can be broken down into categories, called permission
groups, which describe or warn why specific Activities require
permission. For example, permissions might be applied for
Activities that expose sensitive user data such as location and
personal information (android. permission- group.LOCATION and
android. permission group. PERSONAL_ INFO), access underlying
hardware (android.permissiongroup. HARDWARE_ CONTROLS), or
perform operations that might incur fees to the user (android
.permission -group.COST_MONEY). A complete list of permission
groups is available within the Manifest .permission _group class.

Enforcing Content Provider Permissions at the Uri Level

You can also enforce fine-grained permissions at the Uri level using
the <grant-uri- permissions> tag.

Exploring Other Manifest File Settings

We have now covered the basics of the Android manifest file, but
there are many other settings configurable within the Android
manifest file using different tag blocks, not to mention attributes
within each tag we already discussed.

Some other features you can configure within the Android manifest
file include

 Setting application-wide themes as <application> tag attributes
 Configuring instrumentation using the <instrumentation> tag
 Aliasing activities using the <activity-alias> tag
 Creating intent filters using the <intent-filter> tag
 Creating broadcast receivers using the <receiver> tag
Free download pdf