[英]How to unzip a file in IsolatedStorage in windows phone 8 app?
[英]Open file from isolatedstorage in default app (Windows Phone 8)
我有一個關於在Windows Phone 8 C#應用程序中打開存儲在IsolatedStorage中的文件(在我的情況下為file.txt文件)並在WP 8中集成的Office套件中打開它的問題。
我想出了這個:
Windows.System.Launcher.LaunchUriAsync(new System.Uri("ms-word:" + (new Uri("file.txt", UriKind.Relative))));
它可以毫無問題地打開Office Word,但會掛在“文件不存在”消息上並退出。 謝謝 :)
您的Uri錯誤。 它應該是new Uri("ms-word:isostore:file.txt", UriKind.Absolute);
但是仍然無法打開該文件。 不知道為什么。
編輯 :這是不可能的。 您只能從OneDrive打開辦公室電子郵件附件或辦公室文檔。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.