You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (JIRA)" <ji...@apache.org> on 2012/08/06 18:42:02 UTC

[jira] [Commented] (CB-1140) capture.captureAudio is not working in phonegap

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

Simon MacDonald commented on CB-1140:
-------------------------------------

Hi sorry, I could not comment on this as I was off on vacation. It does not matter what version of PhoneGap you are using as it is actually a Samsung problem. Samsung installs some crap ware that takes over the audio recording intent. Sadly this piece of software never calls the onActivityResult method so we never get the result of the audio recording. There is nothing we can do about this and the work around is to use Media.startRecord(). Unfortunately you'll need to provide your own UI. 

http://docs.phonegap.com/en/2.0.0/cordova_media_media.md.html#media.startRecord

I'm now going to mark this bug as resolved. Sorry we can't do anything else. It bugs me as I have 3 Samsung devices myself.
                
> capture.captureAudio is not working in phonegap
> -----------------------------------------------
>
>                 Key: CB-1140
>                 URL: https://issues.apache.org/jira/browse/CB-1140
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.7.0
>         Environment: Samsung Galaxy Tab
>            Reporter: mohanapriya
>            Assignee: Joe Bowser
>            Priority: Trivial
>              Labels: android, audio, capture, phonegap
>             Fix For: 1.8.0
>
>         Attachments: device-2012-07-23-114236.png, device-2012-07-23-155639.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> the capture.captureAudio is not working in Samsung Galaxy tab 2.2.1. it show me a alert "An error occurred during capture:undefined" when i press capture Audio button.
> its working with Samsung Galaxy tab emulator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira