isolatedstorage

Using IsolatedStorageSettings to store information permanently for an app in wp8

吃可爱长大的小学妹 提交于 2019-12-12 03:26:01
问题 I am using IsolatedStorageSettings to store a contact list for a key in my app. But the app only stores the list till the app is active(i.e. like navigating from one page to another). If I exit the app and again relaunch it, the stored key/contact list is not found. How do i permanently save a list for an app, till the app is installed? Here is the code of my viewmodel, I am using: public class ContactsViewModel : ViewModelBase { private static IsolatedStorageSettings appSettings =

How to access isolated storage file from HTML or Javascript for Windows Phone and PhoneGap Application

元气小坏坏 提交于 2019-12-12 02:56:01
问题 I am using PhoneGap to develop application for Windows, Android and iOS platform. I have one problem and need expert assistance from you guys. I have created one plugin for Windows Phone. Plugin is basically download images from URL and stored in isolated storage folder inside Downloads folder this is working successfully. Now my problem is does there any way to access isolated storage files from javascript. for example i have downloaded one image and stored in isolated storage ("Download

Getting selected value of listbox windows phone 7

最后都变了- 提交于 2019-12-12 02:03:05
问题 I am trying to get the selected value from a list box on the Windows Phone 7 platform. The data in my listbox is made up of three columns, consisting of 2 text blocks and 1 image object. How should i put the code in the way that i can get the text (The data in any of the text block) of the selected one? Below is my code for defining the grid: //Define grid column, size Grid schedule = new Grid(); foreach (var time in timeSplit) { timeList = time; //Column 1 to hold the time of the schedule

ViewDiskModel.DeleteSelectedFiles.Execute(null) does not delete any files

懵懂的女人 提交于 2019-12-12 01:57:23
问题 My App wouldn't delete the save files on the loading page in the isolated storage. The codes for the delete and the ViewDiskModel.cs class are below: LoadingPage.cs private void button2_Click(object sender, RoutedEventArgs e) { ViewDiskModel model = lstBox1.DataContext as ViewDiskModel; int m_iSelectedLoad = lstBox1.SelectedIndex; if (m_iSelectedLoad >= 0) { model.DeleteSelectedFiles.Execute(null); } MessageBox.Show("Files Successfully Deleted"); } ViewDiskModel.cs: public class FileItem :

Deploy WP8 app to device and save all its settings after rebuilding the project

倾然丶 夕夏残阳落幕 提交于 2019-12-11 20:22:28
问题 I have accidentally killed one of my WP projects in VS2013. I receovered the source code from the backup, but now, if I try to recompile it and deploy to my device for further debugging, all my app data in the app IsolatedStodage area will be wiped (see this post). The problem is that I have gathered some important data in my app, and need to save them for later use with newer versions of my app. Is there a way to access the file system on a WP device unlocked for development and save the

Operation not permitted on IsolatedStorageFileStream: Visual Studio 2010 Express for Phone

不打扰是莪最后的温柔 提交于 2019-12-11 19:38:44
问题 I am having this error: "Operation not permitted on IsolatedStorageFileStream." I am using visual studio 2010 express for phone c#. Here is my code: public void LoadData() { string xmlUrl = "http://datastore.unm.edu/events/events.xml"; using (IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication()) { using (var isoFileStream = new IsolatedStorageFileStream(xmlUrl, FileMode.Open, FileAccess.ReadWrite, FileShare.Read, storage)) { using (XmlReader xreader = XmlReader

Where is IsolatedStorage located on the filesystem when using IIS/ASP.Net?

为君一笑 提交于 2019-12-11 19:19:28
问题 For one reason or another, I'm using IsolatedStorage with ASP.Net under IIS 8.0(Integrated mode w/ .Net 4.5). This actually works exactly as I'd expect. However, it's very handy to debug isolated storage by looking at the files it creates on your filesystem. I can't find these files. My setup is so that I have a AppPool named TestPool . It has an identity of Jordan (my local user account). The applications seems to work perfectly with data persisting and such. I just can't find where it's

Windows Phone IsolatedStorage

久未见 提交于 2019-12-11 14:03:31
问题 I have a application that needs to download and save files on a device - videos. Videos are short ~ 10min and in poor quality, which means that their size is minimal. So, the problem is that when i download some files - all goes nice, but some files fail with error: Out of memory exception. Logically i think that files less than some size ( for example 50MB ) download nicely, but higher - exception. Here is my code: private void btnDownload2_Click(object sender, RoutedEventArgs e) { WebClient

Image databinding XAML, Silverlight, C#, Windows Phone 7.1

自闭症网瘾萝莉.ら 提交于 2019-12-11 12:09:07
问题 I'm writing an app for the Windows Phone 7 and although I think I understand how to databind fields, I am unable to databind an image to an XAML element. This is how my image element is defined in my XAML: <image Source="{Binding ImageLocation}" > </image> ImageLocation is a string property. For some reason, my image shows up if "ImageLocation" is a string that points to an image on the Internet (e.g., "http://whatever/image.jpg") but it does not show anything if the image is stored locally

Isolated storage access permissions

主宰稳场 提交于 2019-12-11 11:47:15
问题 I have an application that stores some data in isolated storage. The data is stored with the Machine-Assembly scope so that all users on the given machine could access this data. Everything seemed to work just fine under admin account, but as soon as we've tested our app under guest account we've run into user permission restrictions. It seems that isolated storage, being just a simple folder generated by the OS, can have some restrictions on user access to these folder. In my case guest