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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -