简体   繁体   中英

Saving XML file to isolated storage in WP8

I am working on an application for windows phone 8 that needs to scan several text fields from a picture and use the results. I am using ABBYY cloud OCR and I need the method processFields (link http://ocrsdk.com/documentation/apireference/processFields/?utm_source=stackoverflow.com&utm_medium=comment&utm_campaign=SMM ), which its parameter is a path to a XML file with the coordinations of the fields. is anyone familiar with Isolated storage on windows phone 8 and can help me save a XML file to it (or write to it)?

may this will help you . Here is more abouthow to use isolated storage in wp8

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

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