I have started wrapping this and the library compiles all OK. However, it seems to me as if there are two .so files that needs to be built and then also found this inside the Java code (i.e seems like limited device application):
B4X:
/**
* Determine if the device supports card scanning.
* <br><br>
* An ARM7 processor and Android SDK 8 or later are required. Additional checks for specific
* misbehaving devices may also be added.
*
* @return <code>true</code> if camera is supported. <code>false</code> otherwise.
*/
public static boolean canReadCardWithCamera() {
try {
return Util.hardwareSupported();
} catch (CameraUnavailableException e) {
return false;
} catch (RuntimeException e) {
Log.w(TAG, "RuntimeException accessing Util.hardwareSupported()");
return false;
}
}
I have started wrapping this and the library compiles all OK. However, it seems to me as if there are two .so files that needs to be built and then also found this inside the Java code (i.e seems like limited device application):
B4X:
/**
* Determine if the device supports card scanning.
* <br><br>
* An ARM7 processor and Android SDK 8 or later are required. Additional checks for specific
* misbehaving devices may also be added.
*
* @return <code>true</code> if camera is supported. <code>false</code> otherwise.
*/
public static boolean canReadCardWithCamera() {
try {
return Util.hardwareSupported();
} catch (CameraUnavailableException e) {
return false;
} catch (RuntimeException e) {
Log.w(TAG, "RuntimeException accessing Util.hardwareSupported()");
return false;
}
}