我正在搜索 Android 源代码,因为我想了解应用程序的 AndroidManifest.xml 何时被解析。
即,如果应用注册了 NFC 服务
<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>
使用以下 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>
Android 操作系统何时何地读取辅助过滤器并注册 ID?
(我知道它将存储在哪里以及如何存储,但我找不到提取实际 ID 并将其转发到 NFC 堆栈的事件)