在默认 Web 浏览器中打开 URL。 Windows Phone 8.0 个应用程序

Open URL in default Web Browser. Windows Phone 8.0 app

我在文本块中有一个 hyperlink。我想让它在 Web 浏览器中打开 link,但是当我单击它时,我会弹出一个窗口说

"Search an app in the store"

我的应用程序崩溃了......

我的XAML代码是:

<TextBlock HorizontalAlignment="Right" Height="49" Margin="0,0,10,0" TextWrapping="Wrap" Width="326" Foreground="Black" FontSize="16">
                    <TextBlock.Inlines>
                        <Hyperlink Click="Hyperlink_Click" NavigateUri="www.bing.com">
                            <Hyperlink.Foreground>
                                <ImageBrush Stretch="Fill" ImageSource="Assets/Proceed.png"/>
                            </Hyperlink.Foreground>Don't have a Selfcare Account ? Register here.</Hyperlink>
                    </TextBlock.Inlines>
                    <!--<Hyperlink xml:space="preserve" Foreground="#000" FontSize="16">Don't have a Mobitel Selfacre Account ? Register here. </Hyperlink>-->
                </TextBlock>

我的 CS 代码是:

private async void Hyperlink_Click(Windows.UI.Xaml.Documents.Hyperlink sender, Windows.UI.Xaml.Documents.HyperlinkClickEventArgs args)
        {
            await Launcher.LaunchUriAsync(new Uri("www.google.com"));

        }

请帮我修复它...感谢任何形式的帮助...

将 uri 从 www.bing.com 更改为 http://www.bing.com。它需要协议来确定它用来启动 url 的应用程序。

查看这些链接以获取更多信息: