Windows phone 8 wp8中的Web浏览器导航崩溃

Windows phone 8 wp8中的Web浏览器导航崩溃,windows-phone-8,Windows Phone 8,我正在开发windows phone应用程序。在这个应用程序中,我需要与foursquare集成,因此我在web浏览器中加载了foursquare的url。web浏览器加载了foursquare登录页面,直到现在,当我输入登录详细信息并按enter键时,它工作正常,然后,我将隐藏web浏览器,并在服务列表中显示数据。10-15秒后,应用程序崩溃。此崩溃不会在模拟器中看到,它只发生在手机(lumia 520)中。在lumia 920中,它工作正常 我的xaml代码

我正在开发windows phone应用程序。在这个应用程序中,我需要与foursquare集成,因此我在web浏览器中加载了foursquare的url。web浏览器加载了foursquare登录页面,直到现在,当我输入登录详细信息并按enter键时,它工作正常,然后,我将隐藏web浏览器,并在服务列表中显示数据。10-15秒后,应用程序崩溃。此崩溃不会在模拟器中看到,它只发生在手机(lumia 520)中。在lumia 920中,它工作正常

我的xaml代码

                  <Grid Grid.ColumnSpan="2" Name="browserGrid" Visibility="Visible">
                    <phone:WebBrowser x:Name="foursquareBrowser" IsScriptEnabled="True" VerticalAlignment="Top" Height="720"   />
            <!--<ProgressBar x:Name="progressBar" IsIndeterminate="True" Visibility="Collapsed"/>-->


                </Grid>

它只是在没有任何调试信息的情况下崩溃。

检查此行的语法

foursquareBrowser.Navigate(new Uri("https://foursquare.com/oauth2/authorize?  client_id=EYXOAIOMY3BNFR3DPB4SCK1JGR1J3FKDES4O5RGE3DDDM5WI&response_type=code&redirect_uri=http://www.visitabudhabi.ae"));
您似乎从上述语法中漏掉了这一点
UriKind.RelativeOrAbsolute

 foursquareBrowser.Navigate(new Uri("https://foursquare.com/oauth2/authorize?client_id=EYXOAIOMY3BNFR3DPB4SCK1JGR1J3FKDES4O5RGE3DDDM5WI&response_type=code&redirect_uri=http://www.visitabudhabi.ae",UriKind.RelativeOrAbsolute));

当您在Lumia 520上调试它时,异常说明了什么?您是否碰巧找到了解决方案?我在WP8.1上面临类似的问题
 foursquareBrowser.Navigate(new Uri("https://foursquare.com/oauth2/authorize?client_id=EYXOAIOMY3BNFR3DPB4SCK1JGR1J3FKDES4O5RGE3DDDM5WI&response_type=code&redirect_uri=http://www.visitabudhabi.ae",UriKind.RelativeOrAbsolute));