我新建了一个Windows Phone 8.1 项目(不是Windows Phone 8.1 (Silverlight)项目),下面的 GetResourceStream 就提示没有定义了,我想加入using System.IO.IsolatedStorage; 但不行,后来在网上找了下才知道Windows Phone 8.1 项目没有了System.IO.IsolatedStorage,请问在Windows Phone 8.1 项目中有什么方法可以替代 App.GetResourceStream 这个吗?
Stream rs = App.GetResourceStream(new Uri(“data/my.txt”, UriKind.Relative)).Stream;
------解决思路----------------------
windows.storage.applicationdata 试试