I've happily started down the path as an Android developer.  The
Notepad reference has been very helpful as a jumpstart model
application.

I am now growing my application beyond one primary activity.  I'm
curious for anyone's advice for best practice of implementing a data
layer?  C# is my primary language and there I'd create a static class
to handle database interactions, passing back collections and
objects.  However, with Android, the create db method for the sqlite
class takes a context object reference, which I'm assuming doesn't
make it possible to design a reuseable global static class. (Could be
wrong, just haven't found good examples of in books or web sites.)

Perhaps designing data access within content providers is the answer
and best practice?

Any thoughts, article references, etc are greatly appreciated.

Jason

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to