I tried using a Singelton Class in java. But because of the memory problem in android, I guess I will have to try hitting the database.
On Mar 25, 2:20 pm, "tim jones" <[EMAIL PROTECTED]> wrote: > On Mon, Mar 24, 2008 at 10:53 PM, novice <[EMAIL PROTECTED]> wrote: > > > Oh Ok. Well, In that case, will it be advisable say to hit the > > database every 15 minutes or so. Wat about the processing over heads? > > It's minor. > > > > > On Mar 24, 5:56 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > > You do not want an in memory data structure, because your components > > > get killed when android out of memory. > > It's a little more complicated than that. The scope of the data will > be in one piece of software, and I know of no way to allow an app to > share its data structure out of scope or even out of the app itself. > That would be a security issue and I do not think any language would > allow such programming methods. > > > > > > > > On Mar 24, 2:02 am, novice <[EMAIL PROTECTED]> wrote: > > > > > I do not want to hit the database and want an in memory data > > > > structure. > > > > > On Mar 24, 4:58 am, "[EMAIL PROTECTED]" > > > > > <[EMAIL PROTECTED]> wrote: > > > > > ...and access database through content provider. > > > > > > On Mar 23, 2:05 pm, "tim jones" <[EMAIL PROTECTED]> wrote: > > > > > > > That is what a database is for. > > > > > > > On Fri, Mar 21, 2008 at 12:57 AM, novice <[EMAIL PROTECTED]> wrote: > > > > > > > > I have written a set of services which start at Boot up, I want > > > > > > > them > > > > > > > to share a common data structure which they can update and > > > > > > > modify. Any > > > > > > > idea how and where to create such a data structure and how to make > > > > > > > different services access this data structure?- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

