Created
September 28, 2015 21:34
-
-
Save rosshambrick/b831dcbad8bf6b96368b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- For Arduino. --> | |
<uses-feature android:name="android.hardware.usb.host" /> | |
<application | |
android:name=".HackathonApplication" | |
android:allowBackup="true" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:theme="@style/Theme.AppCompat" > | |
<activity | |
android:name=".Activity_Main" | |
android:label="@string/app_name" > | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
<!-- For Arduino. --> | |
<intent-filter> | |
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> | |
</intent-filter> | |
<meta-data | |
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" | |
android:resource="@xml/arduino_filter" /> | |
<intent-filter> | |
<action android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" /> | |
</intent-filter> | |
</activity> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment