Solved

MonoTouch and storing application data

Posted on 2012-12-21
1
675 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article I'm going to cover the basics and usages of NSInvocation. What is NSInvocation? Apple Developer Reference describes NSInvocation this way: An NSInvocation is an Objective-C message rendered static, that is, it is an action tur…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now