You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Dan Ardelean (JIRA)" <ji...@apache.org> on 2012/06/30 16:29:42 UTC
[jira] [Created] (CB-986) AudiRecorder not managin OnNavigatinFrom
correctly
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
[jira] [Resolved] (CB-986) AudiRecorder not managin OnNavigatinFrom
correctly
Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-986.
--------------------------------
Resolution: Fixed
523b3801c20426aa4f515636a59ec240a0152d9d
https://github.com/purplecabbage/incubator-cordova-wp7/commit/523b3801c20426aa4f515636a59ec240a0152d9d
> 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
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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