Hello,
I tried to run CameraExClass exemple on a small smartphone (only 1 camera) under Android 2.2 and it failed.
I tried also to make a new app with the CameraExClass module on the same smartphone, it failed also.
Error messages :
LogCat connected to: B4A-Bridge: Samsung GT-I5510-356368041246647
cameraexclass_findcamera (B4A line: 46)
cameraInfo = r.CreateObject("android.hardware.Camera$CameraInfo")
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: android.hardware.Camera$CameraInfo
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: android.hardware.Camera$CameraInfo
at anywheresoftware.b4a.agraham.reflection.Reflection.classforname(Reflection.java:170)
at anywheresoftware.b4a.agraham.reflection.Reflection.CreateObject(Reflection.java:238)
I know that it is not always possible for B4a to keep compatibility with all old versions of systems, but many users have yet old smartphones.
Would there be a way that CameraExClass module works on both new systems and old systems (to have only one app)?
Thank you for your help or any explanation.
DOM
I tried to run CameraExClass exemple on a small smartphone (only 1 camera) under Android 2.2 and it failed.
I tried also to make a new app with the CameraExClass module on the same smartphone, it failed also.
Error messages :
LogCat connected to: B4A-Bridge: Samsung GT-I5510-356368041246647
cameraexclass_findcamera (B4A line: 46)
cameraInfo = r.CreateObject("android.hardware.Camera$CameraInfo")
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: android.hardware.Camera$CameraInfo
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: android.hardware.Camera$CameraInfo
at anywheresoftware.b4a.agraham.reflection.Reflection.classforname(Reflection.java:170)
at anywheresoftware.b4a.agraham.reflection.Reflection.CreateObject(Reflection.java:238)
I know that it is not always possible for B4a to keep compatibility with all old versions of systems, but many users have yet old smartphones.
Would there be a way that CameraExClass module works on both new systems and old systems (to have only one app)?
Thank you for your help or any explanation.
DOM