0
Answer

HELP WITH ISOLATED STORAGE!!! WHAT I'M DOING WRONG?? (A real challenge)

Ask a question
Samuel Otero

Samuel Otero

12y
1.3k
1
Hi guys. I'm working on this app and what I simply want is that regions (north, south, east and west) who are strings binded to the xaml, shows at the app. The problem that i'm having is that i'm getting this regions from a data base. I get the data from a json file which I converted in classes using this website: http://json2csharp.com/. I received the json files from urls that this company give me. The app does it right if I run the app while my computer is connected to the internet. But, if my computer (the Windows Phone) doesn't have internet connection, the regions wont show. I'm not completely familiar with "serialize" nor "deserialize" Json files and I'm not the only person working in this app. My part in this software is to get this thing working using Isolated Storage. I'm trying to copy the code of other app which does excatly the same thing and is working but I don't know that i'm doing wrong that it just doesn't work. Again, sorry but i'm still a noob in this topic. I uploaded to this topic my entire solution.
Once in there, you can see that the methods which i'm copying from other WORKING app are the SaveRegion() and LoadSavedRegions(). I definitely doing something wrong. I run the app and it works but if I press the menu botton, disconnect my computer from the internet and run the app again it wont show the regions. I will waiting for replys. I hope that this isn't too much for you guys XD.

Many thanks

Samuel

Attachment: medbook samycode.rar