Xml文件  |  51行  |  2.47 KB

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.nfc3"
        android:sharedUserId="android.uid.nfc"
        android:sharedUserLabel="@string/nfcUserLabel"
>
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.NFC" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.STATUS_BAR" />
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
    <uses-permission android:name="android.permission.MASTER_CLEAR" />
    <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="android.permission.READ_PROFILE" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <permission android:name="com.android.nfc.permission.NFCEE_ADMIN"
        android:label="@string/permlab_nfcAdmin"
        android:description="@string/permdesc_nfcAdmin"
        android:protectionLevel="signature"
    />

    <application android:name="com.android.nfc.NfcService"
                 android:icon="@drawable/icon"
                 android:label="@string/app_name"
                 android:persistent="true"
                 android:backupAgent="com.android.nfc.NfcBackupAgent"
    >
        <meta-data android:name="com.google.android.backup.api_key"
            android:value="AEdPqrEAAAAIEXGvR1H2lq6SEOC7O7rGHoAmAf-GHCR_EhLqzg" />

        <activity android:name="com.android.nfc.TechListChooserActivity"
            android:theme="@*android:style/Theme.Dialog.Alert"
            android:finishOnCloseSystemDialogs="true"
            android:excludeFromRecents="true"
            android:multiprocess="true"
        />
        <activity android:name="com.android.nfc.NfcRootActivity"
            android:theme="@*android:style/Theme.Translucent.NoTitleBar"
            android:excludeFromRecents="true"
            android:noHistory="true"
        />
    </application>
</manifest>