I have similar question. I have initialized my Database in OnCreate(). But I want to access the db from service. Any help would be appreciated.
On Wed, Apr 13, 2011 at 11:44 AM, ABSOLUT <[email protected]> wrote: > Many thanks, > > Yes! I had the initialization during the construction and no in my > TabActivity, so doen't works. > One newbie question, If I would like that the "SQLiteDatabase db" > could use in other functions, how does I initialize in the OnCreate? > > Thanks and sorry for my english! > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

