Hi to all,
I have a project in production with almost 28k users (total downloads on play store). All works fine to almost all them, but to some user, when trying to take a picture an error occurs. I'm using CameraEX to take picture and the message returned is bellow. Does any one has a clue why it happens and how to fix?
I have a project in production with almost 28k users (total downloads on play store). All works fine to almost all them, but to some user, when trying to take a picture an error occurs. I'm using CameraEX to take picture and the message returned is bellow. Does any one has a clue why it happens and how to fix?
B4X:
= (RuntimeException) java.lang.RuntimeException: takePicture failed -
StackTrace=java.lang.RuntimeException: takePicture failed\n\tat
android.hardware.Camera.native_takePicture(Native Method)\n\tat
android.hardware.Camera.takePicture(Camera.java:1340)\n\tat
android.hardware.Camera.takePicture(Camera.java:1285)\n\tat
anywheresoftware.b4a.objects.CameraW.TakePicture(CameraW.java:287)\n\tat
com.xpto.Application.cameraexclass._vvvvvvvvvvvvvvvvvvvvvvvvv4(cameraexclass.java:627)\n\tat
com.xpto.Application.camera._imtake_click(camera.java:592)\n\tat
java.lang.reflect.Method.invokeNative(Native Method)\n\tat
java.lang.reflect.Method.invoke(Method.java:515)\n\tat
anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)\n\tat
anywheresoftware.b4a.BA.raiseEvent2(BA.java:157)\n\tat
anywheresoftware.b4a.BA.raiseEvent(BA.java:153)\n\tat
anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:78)\n\tat
android.view.View.performClick(View.java:4508)\n\tat
android.view.View$PerformClick.run(View.java:18675)\n\tat
android.os.Handler.handleCallback(Handler.java:733)\n\tat
android.os.Handler.dispatchMessage(Handler.java:95)\n\tat
android.os.Looper.loop(Looper.java:136)\n\tat
android.app.ActivityThread.main(ActivityThread.java:5584)\n\tat
java.lang.reflect.Method.invokeNative(Native Method)\n\tat
java.lang.reflect.Method.invoke(Method.java:515)\n\tat
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)\n\tat
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)\n\tat
dalvik.system.NativeStart.main(Native Method)\