GitHub Issue | n/a |
Type | New Feature |
Priority | High |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 3.0.1, Release 3.0.2, Release 8.3.0 |
Fix Version/s | 2013 Sprint 16, Release 3.2.0 |
Components | Android |
Labels | android, media, mobilesdk, module, module_media, qe-anviladded, qe-testadded |
Reporter | Ashish Nigam |
Assignee | Bill Dawson |
Created | 2013-03-06T10:25:00.000+0000 |
Updated | 2019-11-12T10:33:59.000+0000 |
In Android it is not possible to check for Rear and front Camera. Also not able to switch between them programmatically.
*This seems to me a Bug in documentation*
Also i found in documentation that Rear and front camera support doc is either old or wrong.
Doc link:
http://docs.appcelerator.com/titanium/latest/#!/guide/Camera_and_Photo_Gallery_APIs
Testing Notes
Run the attached app.js on any Android device. It should accurately tell you which cameras (front/rear/both) are available.PR Ready: https://github.com/appcelerator/titanium_mobile/pull/4450
NOTE: the "switching" part of this ticket will actually be handled in TIMOB-7401.
Verified working as expected. TiSDK 3.2.0.v20131017105330 CLI 3.2.0 Titanium Studio 3.2.0.201310152326 Closing.
Verified the fix with: Appc-Studio: 3.2.0.201310230601 Sdk:3.2.0.v20131022171645 alloy:1.2.2 npm:1.3.2 titanium:3.2.0 titanium-code-processor:1.0.3 Device:Google Nexus 7(v4.3), Nexus 4(v4.0.4),HTC Desire(v4.0.3),Google Nexus 7(v4.2.1) Xcode: 5 OS: Mac OSX 10.8 Correctly getting the available camera types. But in HTC Desire(v4.0.3) getting message as "No supported camera on this device"
Reopening to edit titles