tag:blogger.com,1999:blog-17460203.post551489022259918973..comments2024-02-21T09:18:08.330-08:00Comments on Technoracle (soon to be Canadian Cybertech): Duane's World #32 - more on mobile developmentDuane Nickullhttp://www.blogger.com/profile/08767498160563891543noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-17460203.post-33616456002932361912011-02-21T14:50:14.547-08:002011-02-21T14:50:14.547-08:00Jon:
The persist policy (destruction ="none&...Jon:<br /><br />The persist policy (destruction ="none") should be used where data is more expensive to retrieve and where the source data does not change that often. For example, the Slashdot RSS only has new items perhaps once every hour. Giving the user the ability to manually refresh it at their leisure seems to make sense as a best policy. Overall it makes sense to give the control to the user to allow them to make the decision as it is their data plan, CPU and battery life at stake. <br /><br />As for the data persistence, this depends on what the data is and how sensitive it is. I usually just write to the hard drive. There is a great open source application I wrote in Adobe AIR that shows how to save to the SD disk here -> http://www.androlib.com/android.application.air-scribbler-qFwmi.aspx<br /><br />Cheers!<br /><br />DuaneDuane Nickullhttps://www.blogger.com/profile/08767498160563891543noreply@blogger.comtag:blogger.com,1999:blog-17460203.post-58964710608131138082011-02-21T12:31:59.268-08:002011-02-21T12:31:59.268-08:00Duane --
Great series, I really enjoy what you...Duane -- <br />Great series, I really enjoy what you've done!<br /><br />I am starting to develop a mobile application but I'm nervous about where to store model (persistent) info. I know I can set the destruction property on a view so it shouldn't delete it, but what have you seen as a good practice for maintaining information for various views in the application? I don't know if I should create a singleton and store info there, or use the persistence manager (heard about that).<br /><br />What are your views (no pun intended)?Anonymousnoreply@blogger.com