Configure the following <intent-filter> in the AndroidManifest.xml file to 
automatically pop up the USB permission request box. How can I monitor the 
operation result of this request box, or how can I prevent this pop-up box 
from popping up?

<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/device_filter"/>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/b451f9ac-27e8-4055-b02c-e8c2f5701e95n%40googlegroups.com.

Reply via email to