Skip to content

Instantly share code, notes, and snippets.

@SriharshaShesham
Created September 9, 2015 19:15
Show Gist options
  • Save SriharshaShesham/2d8b07c1c75c55d124f2 to your computer and use it in GitHub Desktop.
Save SriharshaShesham/2d8b07c1c75c55d124f2 to your computer and use it in GitHub Desktop.
Android Manifest for Arduino Mega ADK
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="adk.srichakram.in.adk_googleapi" >
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<uses-library android:name="com.android.future.usb.accessory"></uses-library>
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
android:resource="@xml/accessory_filter" />
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment