I have a DatabaseHelper instance for db stuff. Until now i kind of had
a mess of everything but made it a singleton so it won't need to be
created over and over again. The same object is used both in the
fullscreen app and in the widget. The thing is, in case the user also
has my widget on the home screen, when the fullscreen app is closed i
wouldn't want to close the dbHelper in onDestroy. My question is: does
Android or the garbage collector do all the necessary stuff to release
the memory in case it *isn't* used again? (the case in which the
widget isn't added)

Thanks,
Teo

-- 
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

Reply via email to