By the way, the Android-centric name for the pattern you want is
"Content Provider". You can search the documentation for that phrase.
SQLite is an example of a content provider where you normally create
an Adapter that wraps around the raw SQLite API to present an
application-specific API to the rest of your code. Content providers
are where any substantial persistent state is supposed to reside. Then
you just instantiate the adapter in your onCreate and access the state
you need.

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