Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8059

capture.captureAudio not working in nexus 7

    XMLWordPrintableJSON

Details

    Description

      I'm developing one simple application using phonegap for Android devices, in which one of the functionality is Audio Recording. The snippet to capture voice is as below -

      function captureAudio() {
      navigator.device.capture.captureAudio(captureSuccess, captureError,

      { limit: 1, duration: 60 }

      );
      }

      The application is running as expected in Samsung Tab 2 (Android version 4.1.2) and user can able to record the voice.

      The same application I had deployed on Lenovo A 1000 (Android version 4.1.2) and nexus 7 (Android 4.4) but default voice recorder is not opening and I'm getting following error in logcat -

      In Cordova 3.x version:- android.content.ActivityNotFoundException: No Activity found to handle Intent

      { act=android.provider.MediaStore.RECORD_SOUND }

      Attachments

        1. screenshot-1.png
          275 kB
          Jon Mathew

        Activity

          People

            bowserj Joey Robert Bowser
            jonmathew@arrivusystems.com Jon Mathew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified