繁体   English   中英

将XML文件保存到WP8中的隔离存储中

[英]Saving XML file to isolated storage in WP8

我正在为Windows Phone 8开发一个应用程序,该应用程序需要从图片中扫描几个文本字段并使用结果。 我正在使用ABBYY cloud OCR,并且需要使用processFields方法(链接http://ocrsdk.com/documentation/apireference/processFields/?utm_source=stackoverflow.com&utm_medium=comment&utm_campaign=SMM ),其参数是XML文件的路径与各领域的协调。 是否有人熟悉Windows Phone 8上的隔离存储,可以帮助我将XML文件保存到其中(或写入它)?

希望这对你有帮助。 这是更多关于如何在wp8中使用隔离存储的信息

IsolatedStorageFile fileStorage = IsolatedStorageFile.GetUserStoreForApplication();
StreamWriter Writer = new StreamWriter(new IsolatedStorageFileStream("TestFile.xml", FileMode.OpenOrCreate, fileStorage));
Writer.WriteLine(xml_string);
Writer.Close();

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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