Hey guys,
I'm using this library to change the resolution of images I'm taking on a Toshiba Thrive device, which is working perfectly fine. We are also running the same code on a Motorola Xoom tablet (very similar in specs to the thrive) and the line that modifies the resolution is causing a runtimeexception.
Has anyone seen this before?
Here is the routine causing the crash:
I commented out the line that is causing the issue for clarity.
Thanks
I'm using this library to change the resolution of images I'm taking on a Toshiba Thrive device, which is working perfectly fine. We are also running the same code on a Motorola Xoom tablet (very similar in specs to the thrive) and the line that modifies the resolution is causing a runtimeexception.
Has anyone seen this before?
Here is the routine causing the crash:
B4X:
Sub Camera1_Ready (Success As Boolean)
If Success Then
' Camera1.PictureSize(pnlCamera.Width, pnlCamera.Height)
Camera1.StartPreview
btnTakePicture.Enabled = True
Else
ToastMessageShow("Cannot open camera.", True)
End If
End Sub
Thanks