[ 
https://issues.apache.org/jira/browse/CB-14183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile closed CB-14183.
-----------------------------
    Resolution: Duplicate

We are moving to github issues and somebody already reported it there, so going 
to close this one in favour of the github one, please subscribe there if 
interested

https://github.com/apache/cordova-plugin-media-capture/issues/102

> 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