Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7846421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:34:34+00:00 2026-06-02T17:34:34+00:00

I am trying to develop Windows Phone App, I would like to know that

  • 0

I am trying to develop Windows Phone App, I would like to know that how can I call the default web browser with a specific URL(e.g. http://www.google.com) when I launch the program?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:34:35+00:00Added an answer on June 2, 2026 at 5:34 pm

    When you’re launching “the program” as you say (Internet Explorer) you use the following code:

    WebBrowserTask browser = new WebBrowserTask();
    browser.URL = new Uri("http://www.google.com", UriKind.Absolute);
    browser.Show();
    

    The WebBrowser task is inside the Microsoft.Phone.Tasks namespace, the documentaion of which is here: Microsoft.Phone.Tasks.WebBrowserTask

    You should also know that the “default” browser is always Internet Explorer, because right now there is no way for users to define an alternative browser as their “default”.

    Edit:

    After reading your question more closely, I can tell there is a little bit of ambiguity. If you want to launch the browser immediately when your app launches, you should know the following:

    1. This kind of application will fail Microsoft’s marketplace validation (check the Application Certification Requirements for Windows Phone

    2. Even if it didn’t fail the certification, it would be a kind of strange application… not one that is of very much use to your users.

    If, however you intend to launch the phone’s browser when the user clicks a button, then the above code I posted will work just like you want it to, just make sure to include this line at the top of the code file that it’s in:

    using Microsoft.Phone.Tasks;
    

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using PhoneGap to develop a Windows Phone 7 app. I'm trying to call
I an trying to develop a windows application using C# that can play streamed
I am trying to develop an windows application like Google chrome Browser in WPF
Im trying to develop my first ASP.NET MVC web app and have run into
im trying to develop an app for a win CE mobile device that downloads
I am (trying) to develop a WPF (C#) app that just gets (or at
We are trying to develop an app for Windows Mobile and are running into
I am trying to develop a util (using system-hook) for that works like an
I am trying to develop a web page that will allow user to edit
I have a Windows Phone 7 app to develop as a pet project and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.