waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

CameraManager.startSmoothZoom() crash #475

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?

only '0' is accepted (i.e. do not zoom?); even a simple value as '1' causes a 
crash, even when CameraManager.getParameters().getMaxZoom() returns '60'

used to work (just yesterday) on XE12

What version of the product are you using? On what operating system?
XE16

Please provide any additional information below.

Original issue reported on code.google.com by alexande...@gmail.com on 17 Apr 2014 at 1:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue reported via Glass on 1706CET (approx. minutes before this comment)

Original comment by alexande...@gmail.com on 17 Apr 2014 at 3:08

GoogleCodeExporter commented 9 years ago
I am experiencing this same issue.  Zoom also worked for me in XE12.  Looks 
like the camera code had an error introduced:

04-18 19:28:25.437: D/codebase(2049): Camera is zoom supported? : true
04-18 19:28:25.437: D/codebase(2049): Max zoom by parameters: 60
04-18 19:28:25.437: E/CameraHal(116): (b706d260)   
hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXZoom.cpp:250 startSmoothZoom - 
Smooth value out of range 10!
04-18 19:28:25.437: W/System.err(2049): java.lang.IllegalArgumentException: 
invalid zoom value=10
04-18 19:28:25.437: W/System.err(2049):     at 
android.hardware.Camera.startSmoothZoom(Native Method)

Note that "10" is the value I was trying to set, but any number using 
startSmoothZoom results in out of range error.

Original comment by ldumm...@gmail.com on 19 Apr 2014 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by ala...@google.com on 21 Apr 2014 at 6:07

GoogleCodeExporter commented 9 years ago
 It is weird that the method Camera.getParameters().isSmoothZoomSupported() returns true but the call to startSmoothZoom gives RuntimeException.

Original comment by deve...@gmail.com on 30 Apr 2014 at 9:41

GoogleCodeExporter commented 9 years ago
This should have been fixed with XE16.2.

Original comment by ala...@google.com on 30 Apr 2014 at 10:12

GoogleCodeExporter commented 9 years ago
But when are we getting the s/w update for XE16.2 OTA. Currently, my Glass has 
XE16.11

Original comment by deve...@gmail.com on 1 May 2014 at 5:05

GoogleCodeExporter commented 9 years ago
Confirmed working on 16.2. It should be going ota soon if you don't have it yet 
(mine updated today).

Original comment by ldumm...@gmail.com on 1 May 2014 at 5:08

GoogleCodeExporter commented 9 years ago
Thanks. My Glass got s/w update today, and I confirmed the startSmoothZoom 
works!

Original comment by deve...@gmail.com on 1 May 2014 at 4:14