-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathAndroidManifest.xml
24 lines (20 loc) · 1.42 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="org.yourorgexample.androidusbtest">
<uses-permission android:name="android.permission.SET_RELEASE_APP"/>
<uses-sdk android:minSdkVersion="32"
android:targetSdkVersion="32" />
<application android:debuggable="true" android:hasCode="false" android:label="androidusbtest" tools:replace="android:icon,android:theme,android:allowBackup,label" android:icon="@mipmap/icon">
<activity android:configChanges="keyboardHidden|orientation" android:label="androidusbtest" android:name="android.app.NativeActivity" android:exported="true">
<!-- This device filter seems to do nothing at all! If you figure out how to use it or what it does, let me know!! -->
<intent-filter>
<action android:name="android.hardware.usb.action.ACTION_USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data android:name="android.hardware.usb.action.ACTION_USB_DEVICE_ATTACHED" android:resource="@xml/device_filter" />
<meta-data android:name="android.app.lib_name" android:value="androidusbtest"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>