Xml文件  |  29行  |  1018 B

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="foo.bar.testback"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-permission android:name="android.permission.CAN_REQUEST_TOUCH_EXPLORATION_MODE"/>
    <uses-permission android:name="android.permission.CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY"/>

    <uses-sdk
        android:minSdkVersion="21" />

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:allowBackup="false" >
        <service
            android:name=".TestBackService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
          <intent-filter>
            <action android:name="android.accessibilityservice.AccessibilityService" />
          </intent-filter>
          <meta-data
              android:name="android.accessibilityservice"
              android:resource="@xml/accessibilityservice" />
        </service>
    </application>

</manifest>