[ 
https://issues.apache.org/jira/browse/CB-14183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16536098#comment-16536098
 ] 

Mayur Agarwal commented on CB-14183:
------------------------------------

I am also facing the same issue..  

    No Activity found to handle Intent \{ 
act=android.provider.MediaStore.RECORD_SOUND }

 

But other audio recording apps (downloded from play store) are working fine in 
my phone.

> Android 7 / Android 8 - capture.captureAudio cause No Activity found to 
> handle Intent { act=android.provider.MediaStore.RECORD_SOUND 7
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-14183
>                 URL: https://issues.apache.org/jira/browse/CB-14183
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media-capture
>         Environment: Node version: v7.9.0
> Cordova version: 7.0.1
> cordova-android version: 7.1.0
>  
>            Reporter: GSS FED
>            Priority: Major
>
> Affected target: Android 7 (sdk = 24), Android 8 (sdk = 26)
> Not affected target: Android 6 (sdk = 23)
> code:
>  
> {code:java}
> // capture callback
> var captureSuccess = function(mediaFiles) {
>     var i, path, len;
>     for (i = 0, len = mediaFiles.length; i < len; i += 1) {
>         path = mediaFiles[i].fullPath;
>         // do something interesting with the file
>     }
> };
> // capture error callback
> var captureError = function(error) {
>     if (error.code) { console.log('Error code: ' + error.code); }
>     else { console.log('Error: ' + error); }
> };
> // start audio capture
> navigator.device.capture.captureAudio(captureSuccess, captureError, 
> {limit:2});{code}
>  
> Android 8 log: "Error: No Activity found to handle Intent \{ 
> act=android.provider.MediaStore.RECORD_SOUND }"
> while Android 6 can open recorder 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to