简体   繁体   中英

Opening PPT file in windows phone

I want to link a ppt file to one of XAML pages in Windows phone 7. I have the file stored online. What should ideally happen is when the user clicks the appbar icon, it should open using a PPT Viewer in the phone, similar the launcher tasks available link ShareStatusTask, BingMapsTask etc.,

private void appbarPresentationClick(object sender, EventArgs e)
{
  WebBrowserTask pptTask = new WebBrowserTask();
  pptTask.Uri = new Uri("http://www.fileden.com/files/2012/6/26/3320306/Emerging%20Technologies.pptx");
  pptTask.Show();
}

This opens the web browser and then opens the ppt file. Is there a better way to achieve this as to directly launching he PPT?

There is no other way of opening such files.

The method you are using is the only one available.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM