小编k-d*_*eux的帖子

如何获得在操作系统中注册的Android应用程序

我正在搜索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>
Run Code Online (Sandbox Code Playgroud)

使用以下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>
Run Code Online (Sandbox Code Playgroud)

Android操作系统何时何地读取辅助过滤器并注册ID?

(我知道它将存储在哪里,以及如何存储,但我无法找到实际ID被提取并转发到NFC堆栈的事件)

android apdu nfc android-service hce

4
推荐指数
1
解决办法
592
查看次数

标签 统计

android ×1

android-service ×1

apdu ×1

hce ×1

nfc ×1