| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 |
package="com.android.accessorydisplay.source"> |
| 19 |
|
| 20 |
<uses-feature android:name="android.hardware.usb.accessory"/> |
| 21 |
<uses-sdk android:minSdkVersion="18"/> |
| 22 |
|
| 23 |
<application android:label="@string/app_name" |
| 24 |
android:icon="@drawable/ic_app" |
| 25 |
android:hardwareAccelerated="true"> |
| 26 |
|
| 27 |
<activity android:name=".SourceActivity" |
| 28 |
android:label="@string/app_name" |
| 29 |
android:theme="@android:style/Theme.Holo" |
| 30 |
android:exported="true"> |
| 31 |
<intent-filter> |
| 32 |
<action android:name="android.intent.action.MAIN"/> |
| 33 |
<action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"/> |
| 34 |
<category android:name="android.intent.category.DEFAULT"/> |
| 35 |
<category android:name="android.intent.category.LAUNCHER"/> |
| 36 |
</intent-filter> |
| 37 |
<meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" |
| 38 |
android:resource="@xml/usb_accessory_filter"/> |
| 39 |
</activity> |
| 40 |
|
| 41 |
</application> |
| 42 |
</manifest> |