Solved

MonoTouch and storing application data

Posted on 2012-12-21
1
684 Views
Last Modified: 2014-11-12
Hi,

I am porting a mobile application which currently runs on Windows Phone and Android to iOS.  I am using MonoTouch and I have previously used Mono for Android.

I have items of data which I need to store - for example I read an XML file from the server which defines a number of 'jobs'.  I create Job objects from the XML and then save the job objects to IsolatedStorage using the IsolatedStorageSettings object.

Unfortruantely IsolatedStorageSettyings does not exist under MonoTouch apparently so I need an alternative.  I guess I could serialize the objects back to XML and store as files but the IsolatedStorageSettings was much cleaner as I didn't need toi woory about the underlying mechanisms and it was portable.  Any suggestions please.
0
Comment
Question by:ChrisMD
1 Comment
 
LVL 14

Accepted Solution

by:
binaryevo earned 500 total points
ID: 38744013
I'm not sure what its called in mono touch but you can do one of two things.  Interact directly with a SQLite data store or google mono touch core data persistence.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wanted to watch videos in your computer from the bed without the need of standing up and shutting down the computer?  Is your computers operating system Windows XP, Windows Vista or Windows 7?  Do you own a iOS device? If all the answers were y…
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question