persistent-storage

Symbian C++ - Persistent storage of a single variable

Hi I wish to store a single variable in my application that will be saved between runs. This will be a version number that will be used to trigger an update option and so will change only rarely. Does anyone have suggestions on the best way of implementing this? Considering it's such a simple requirement I am interested in the simplest...

Storing a list of Categorize URLs - Sqlite DB, XML, or pList? Structure Design?

Hey guys, I want to store a categorized list of URLs. This is an internet radio streaming app, and so I want to have at least three links for each genre: the free streaming URL with commercials the premium streaming URL at 128 kbps the premium streaming URL at 256 kbps So every genre will have these three URLs. For the premium strea...

Combine two core data applications! Iphone

Hello all, Just preparing myself for a task that i feel could be quite troublesome, and just wanted to get any advice or pointers on where i may fall over with this task. I have two "mini" applications, they both use core data as a persistent storage solution. I am going to combine these two apps to make a "Medium" sized app :) Is th...

Custom persistent-storage?

Hello! I need to make a desktop application that stores data, I want this data to protected, and besides, the user shouldn't have to install any data-servers (i.e. SQL-Server, office etc.). I thought XML would be the best idea, the question is how can I protect the data whilst enjoying the other cool features of it which is XML literal...

Persistant Store and App Update Question

Hey gang. I have an iphone app up on the store which uses core data. Now, every time I change something in my code with relation to core data, namely my managedobjectmodel or my model classes, I have to wipe all my data since I get a persistent store error. Now I'm finding i need to make changes to my app and I don't want my users to lo...

How to sort Persistent store records in Blackberry application?

Hi All, Can you please help me in sorting persistent store records in Blackberry application? I want to sort it in ascending and descending order... Please help. Thanks in advance ...

Core Data vs. SQLitePersistentObjects

I'm creating an iPhone app and I'm trying to choose between 2 solutions for a persistent store. Core Data, or SQLitePersistentObjects. Basically, all my app needs is a way to store an array of model objects and then load them again to display in a UITableView. Its nothing too complicated. Core Data seems to have a much higher learning c...

Javascript: Greasemonkey access violation setValue

I'm trying to create a generic function that will execute piece of code on the NEXT reload of a page. This is called by onPageLoad({ onLoad: function() { code to call on next page load goes here } }); The only way I can see of doing this in greasemonkey is to set the whole onLoad: function as a string and set it via GM_setValue then re...

CMS for SmartPhones

The company I work for has a document management and retrieval system. We are noticing employees use more their smartphones than their laptops, but they cannot access the document management system. So, we are thinking about a CMS, with persistent storage, perhaps developed in Java. I just started looking into Jease and dotCMS, and also...

persist value between two pages using javascript

i have a one html page in which i am storing few user selected values now and want to use these values on another html page. i am using jquery in my module and i have already tried window.name and window.localStorage but they don't persist values between two pages. so please help me to solve this problem. ...

BlackBerry persistent object /storage nuance question.

I'm using PS to store data in my app. I think I have a misunderstanding of how PS works. If anyone could tell me how to make it so that the bill I retrieve from PS is unencrypted as opposed to the encrypted bill I end up with? Note: I originally store and unencrypted bill! From what I can tell, it considers both bills, and both PO ob...

Is this a good interface for persistent state?

I'm developing a game that maintains its information in a class called WorldState. Each GameObject in the world (trees, zombies, the player, health packs, etc) is composed of three objects: GameObjectController, GameObjectModel, and GameObjectView. (These classes may be extended if the GameObject requires additional functionality.) Worl...

Write Java objects to file

Is it possible to write objects in Java to a binary file? The objects I want to write would be 2 arrays of String objects. The reason I want to do this is to save persistent data. If there is some easier way to do this let me know. Thanks in advance! ...

Storing UISwitch user input in a persistent object

I am a little confused about the typing in my app, let me explain: I have a persistent custom model class containing several boolean attributes. At least it says BOOL in the entity builder, when I model my object there. When I let XCode autocreate the class for me, I can see in the header file that XCode has made NSNumber objects of my ...

How to create persistent storage on iPhone?

Hello, I would like to know which type of persistent storage would be safe to use for Archive files in iPhone? My archive files needs to be updated for every 30mins to 1hr, and i need to persist nearly 500 to 600 archive files. How to persist so many archive files on device? which persistent storage mehanism woulb be better to use? Th...

fastest way to persist changes

hi, in my web app the database has a blob(an xml file). The user is allowed to change the blob through a web interface. I take the blob show it in a html form, then the user can change some values and save it back. So the user submit request has a db save. Can I save the entry to a cache to speed up the submit request? But then there is ...

How do I take integer keys in shelve ?

I want to store an integer key in shelve. But when I try to store integer key in shelve it give me an error Traceback (most recent call last): File "./write.py", line 12, in data[id] = {"Id": id, "Name": name} File "/usr/lib/python2.5/shelve.py", line 124, in __setitem__ self.dict[key] = f.getvalue() File "/usr/lib/pytho...