1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.google.android.DemoKit" android:versionCode="1" 4 android:versionName="1.0"> 5 6 <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="11" /> 7 8 <application android:icon="@drawable/ic_launcher_demokit" 9 android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar"> 10 <uses-library android:name="com.android.future.usb.accessory" /> 11 <activity android:name=".DemoKitLaunch" android:label="@string/app_name"> 12 <intent-filter> 13 <action android:name="android.intent.action.MAIN" /> 14 <category android:name="android.intent.category.LAUNCHER" /> 15 </intent-filter> 16 </activity> 17 <activity android:name=".DemoKitActivity" android:label="@string/app_name" 18 android:screenOrientation="portrait"> 19 </activity> 20 <activity android:name=".DemoKitPhone" android:label="@string/app_name" 21 android:screenOrientation="portrait"> 22 </activity> 23 <activity android:name=".DemoKitTablet" android:label="@string/app_name" 24 android:screenOrientation="landscape" android:theme="@android:style/Theme.Holo"> 25 </activity> 26 <activity android:name="UsbAccessoryActivity" android:label="DemoKit" 27 android:taskAffinity="" android:launchMode="singleInstance"> 28 <intent-filter> 29 <action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" /> 30 </intent-filter> 31 32 <meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" 33 android:resource="@xml/accessory_filter" /> 34 </activity> 35 36 </application> 37 </manifest>