Windows Phone 8: Auto-Launch *.pptx fail -


i have code launching file on windows phone 8:

string ppfile = @"assets\documents\test.txt"; var file = await windows.applicationmodel.package.current.installedlocation.getfileasync(ppfile); var success = await windows.system.launcher.launchfileasync(file); 

when have *.txt file windows phone 8 launching it. want launch "example.pptx" file, code doesn't work. there perhaps permission problems powerpoint file?

the code specified correct launching file, either txt or pptx. both cases should work fine.

could please verify in solution explorer build action pptx file set "content"? when adding txt file defaults content, pptx defaults none. adjusting content solve issue.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -