topcumust / mezzofanti

Automatically exported from code.google.com/p/mezzofanti
0 stars 0 forks source link

galaxy nexus "unfortunately,Mezzofanti has stopped" #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.unfortunately,Mezzofanti has stopped
2.
3.

What is the expected output? What do you see instead?
I can't start application. 
FATAL EXCEPTION: main
java.lang.RuntimeException:setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1266)
at 
com.itwizard.mezzofanti.CameraManager.SetCameraParameters(CameraManager.java:322
)
at com.itwizard.mezzofanti.CameraManager.OpenDriver(CameraManager.java:205)
at com.itwizard.mezzofanti.Mezzofanti.InitCamera(Mezzofanti.java:489)
at com.itwizard.mezzofanti.Mezzofanti.access$4(Mezzofanti.java:480)
at com.itwizard.mezzofanti.Mezzofanti$2.handleMessage(Mezzofanti.java:752)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4340)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)

What version of the product are you using? And which operating system?
android 4.0,sumsung galexy nexus

Please provide any additional information below.
can't start application

Original issue reported on code.google.com by pekalero...@gmail.com on 3 Feb 2012 at 8:31

GoogleCodeExporter commented 9 years ago
I have the same problem on Galaxy Nexus running Android 4.0.2.

Original comment by dominik.roblek on 1 Apr 2012 at 10:48

GoogleCodeExporter commented 9 years ago
Same issue on Nexus S running 4.0.4

Original comment by patrickj...@gmail.com on 4 May 2012 at 11:10

GoogleCodeExporter commented 9 years ago
Same here, had to comment out line 320 in CameraManager.java
//parameters.setPreviewSize(m_ptScreenResolution.x, m_ptScreenResolution.y);

crashs with
m_ptScreenResolution.x = 533, m_ptScreenResolution.y=320

Best regards
Klaus

Original comment by toprak...@googlemail.com on 26 Jul 2012 at 8:25