[TIMOB-3494] Android: fix camera preview not showing on Galaxy tab
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-04T16:33:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-14 |
Components | Android |
Labels | android, camera, defect, galaxy, preview, release-1.7.0, reported-1.6, rplist, tab |
Reporter | Opie Cyrus |
Assignee | Opie Cyrus |
Created | 2011-04-15T03:45:52.000+0000 |
Updated | 2011-05-04T16:33:10.000+0000 |
Description
Camera preview only shows a grey screen on Galaxy tab.
While no exception is thrown, the follow message is printed repeatedly during the preview period:
"E/SurfaceFlinger( 2505): LayerBuffer init temp buff failed with w=1025, h=600, exp max=1024x1024 on 0"
Initial research indicates this may be a Galaxy Tab specific bug.
(from [e12c3155c16d09a523c86a1b70f335fac7868838]) [#3494 state:in-progress][#3495 state:in-progress] manually specify camera preview size
when using custom overlay camera preview, manually set preview size to largest supported preview size for that device
https://github.com/appcelerator/titanium_mobile/commit/e12c3155c16d09a523c86a1b70f335fac7868838"> https://github.com/appcelerator/titanium_mobile/commit/e12c3155c16d...
Issue resolved by latest update to #1781
https://github.com/appcelerator/titanium_mobile/commit/976a1fae259e742a71609d010f8f3631346c3da8"> https://github.com/appcelerator/titanium_mobile/commit/976a1fae259e...
Verified fixed with Galaxy Tab 2.2.1.