Dan Ardelean created CB-986:
-------------------------------

             Summary: AudiRecorder not managin OnNavigatinFrom correctly
                 Key: CB-986
                 URL: https://issues.apache.org/jira/browse/CB-986
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP7
    Affects Versions: 1.9.0
         Environment: Emulator
            Reporter: Dan Ardelean
            Assignee: Jesse MacFadyen
             Fix For: 2.0.0


It is pretty easy to reproduce. While capturing an audio press start/windows 
hardware button, then press back and try to use take and it will go into 
exception. The manage correctly you need to see if the navigation is to 
external app not internal and put an if only if it's internal like this:

  if (!((e.Uri.IsAbsoluteUri) && 
(e.Uri.AbsoluteUri.CompareTo("app://external/") == 0)))
            {
                this.FinalizeXnaGameLoop();

                if (this.Completed != null)
                    this.Completed(this, result);
            }

--
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

        

Reply via email to