• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 701
  • Last Modified:

MonoTouch and storing application data

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
ChrisMD
Asked:
ChrisMD
1 Solution
 
binaryevoCommented:
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

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now