You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/01/14 10:31:26 UTC

[jira] [Commented] (CB-12342) Media capture plugin: Create method to check if audio recording app installed

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

jcesarmobile commented on CB-12342:
-----------------------------------

And what happens when there is no app? does it crash? or the error callback is called?

> Media capture plugin: Create method to check if audio recording app installed
> -----------------------------------------------------------------------------
>
>                 Key: CB-12342
>                 URL: https://issues.apache.org/jira/browse/CB-12342
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Media Capture
>            Reporter: Dani Palou
>            Priority: Minor
>
> Some Android devices don't have any app to record audio by default. This means that using _captureAudio_ will always fail.
> It would be nice to have a method to check if there is an app to record audio installed (all devices should have the camera, so it wouldn't be needed for video/image). With this method the apps would be able to hide the record audio feature if it's not available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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