Looking through android developers USB accessory I understand that I need to setup Broadcast and requestPermission(). But I can not figure out if I need to still have following intent-filter in manifest?
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
