Advertisement
sgccarey

HelloADK Android Manifest

Oct 27th, 2011
1,069
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.saltapps.helloADK" android:versionCode="1" android:versionName="1.0">3
  2.  
  3. <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"/>
  4. <application android:icon="@drawable/icon" android:label="@string/app_name">
  5.  
  6. <activity android:name=".HelloADKActivity" android:label="@string/app_name">
  7. <intent-filter>
  8. <action android:name="android.intent.action.MAIN"/>
  9. <category android:name="android.intent.category.LAUNCHER"/>
  10. </intent-filter>
  11.  
  12. <intent-filter>
  13. <action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"/>
  14. </intent-filter>
  15.  
  16. <meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" android:resource="@xml/accessory_filter"/>
  17. // references an XML resource file that includes the manufacturer, model and version you defined earlier in your Arduino sketch
  18.  
  19. </activity>
  20.  
  21. <uses-feature android:name="android.hardware.usb.accessory"/> // identifies app uses USB features, so handset must be compatible
  22.  
  23. <uses-library android:name="com.android.future.usb.accessory"/> // add-on library allows 2.3.4 to use accessory mode
  24.  
  25. </application>
  26. </manifest>
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement