Hi,
I'm trying to add this manifest:
<code>
AddActivityText(com.abilio.FirstLib, <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" />)
</code>
But B4A tells an error, because "com.abilio.FirstLib" is not an Activity.
In fact, "com.abilio.FirstLib" is an Activity created inside a .jar library and it needs to have access to USB.
Can you send me your comments?
Kinds Regards,
Abilio
I'm trying to add this manifest:
<code>
AddActivityText(com.abilio.FirstLib, <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" />)
</code>
But B4A tells an error, because "com.abilio.FirstLib" is not an Activity.
In fact, "com.abilio.FirstLib" is an Activity created inside a .jar library and it needs to have access to USB.
Can you send me your comments?
Kinds Regards,
Abilio