I am looking for Android source code because I want to understand when the AndroidManifest.xml file of the application is parsed.
those. if the application registers an NFC service
<service
android:name=".demo.service.ApduService"
android:exported="true"
android:permission="android.permission.BIND_NFC_SERVICE">
<intent-filter>
<action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" />
</intent-filter>
<meta-data
android:name="android.nfc.cardemulation.host_apdu_service"
android:resource="@xml/apduservice" />
</service>
with the following apduservice.xml
<host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android"
android:description="@string/servicedesc"
android:requireDeviceUnlock="false" >
<aid-group
android:category="other"
android:description="@string/aiddescription" >
<aid-filter android:name="23498234098234098" />
</aid-group>
When and where does the Android OS read the helper filter and register the ID?
(I know where it will be saved and how, but I cannot find an event in which the actual identifier will be fetched and redirected to the NFC stack)
source
share