The following forum(s) have migrated to Microsoft Q&A (Preview): Developing Universal Windows apps!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
Launch a app from another app RRS feed

  • Question

  • Hello All,

    I am Working on a windows mobile 8 app. I want to launch any other app from my app.
    So I am requesting you all please suggest me how can I do this.

    Thanks in advanced,
    Tapas


    wp7

    Monday, July 22, 2013 8:08 AM

Answers

  • In Windows Phone 8, apps can register URIs and file extensions in order to allow to be launched from other app.

    For example, you can launch a PDF reader from your app to read a .pdf file as following:

    // Access the file.
    StorageFile pdfFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync("file.pdf");
    
    // Launch the pdf file.
    Windows.System.Launcher.LaunchFileAsync(pdfFile);

    See more in:

    Auto-launching apps using file and URI associations for Windows Phone 8

    Monday, July 22, 2013 9:00 AM

All replies