6. AndroidManifest.xml file #
Created Saturday 21 November 2020
- Every app must have an AndroidManifest.xml file.
What does it contain?
-
Activity declarations.
-
Package name - which is unique
-
Permissions for the app.
-
Minimum Android API - i.e KitKat, Nougat, 10 etc
<category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application>
- We can also define intents per activity, via an
intent-filter
Intent filter - specifies details about the kind of Intents that the activity can handle. Here, we’ve defined action and category.