Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23230

iOS,Android: An event for the camera has been opened successfully.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: TiAPI
    • Labels:
    • Story Points:
      5
    • Sprint:
      2016 Sprint 12 SDK

      Description

      description

      Suppose we have an app that automatically takes photos. At the moment what I do is invoke "Ti.Media.showCamera" then wait 2 seconds and then invoke Ti.Media.takePicture.

      But some devices take some time to open the camera. So the app is crashed when "Ti.Media.takePicture" is called before opening the camera.

      So the better way to know if the camera has been opened successfully using an event?

      I am not sure about the native behaviour.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                morahman Motiur Rahman
                Reviewer:
                Ashraf Abu (Inactive)
                Tester:
                Abir Mukherjee
              • Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code