Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14180] Android: Add Ti.Media.hideCamera() function

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-05-28T16:09:54.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 15, Release 3.2.0
ComponentsAndroid
Labelsandroid, camera, media, module_media, parity, qe-testadded, tbs-1.9.0
ReporterDaniel Sefton
AssigneeBill Dawson
Created2013-06-11T18:03:14.000+0000
Updated2014-05-28T16:09:54.000+0000

Description

*MediaModule.java*
@Kroll.method
public void hideCamera()
{
	TiCameraActivity.cameraActivity.setResult(Activity.RESULT_OK);
	TiCameraActivity.cameraActivity.finish();
}

Comments

  1. Priya Agarwal 2013-10-22

    Verified the fix with: Appc-Studio: 3.2.0.201310181700 Sdk:3.2.0.v20131021142445 alloy:1.2.2 npm:1.3.2 titanium:3.2.0 titanium-code-processor:1.0.3 Device:Google Nexus 7(v4.3), iPOD Touch1(v7.0) Xcode: 5 Ti.Media.hideCamera() function working fine on both iOS and Android

JSON Source