views:

57

answers:

2

Just found out that I don't need content providers if I don't need to share data with other applications. But since the examples I've seen all use content providers, I'm not sure how to proceed without them and populate activities with data derived from accessing my application's database directly.

+2  A: 

The Notepad Tutorial in the Android Developer Documentation shows how to access a SQLite database "directly".

Dave Webb
You're right. Was aware of the tutorial but thought it was the same implementation as the one included with the SDK (which uses ContentProvider) Thanks!
Julian
+2  A: 

The LunchList application built up in Android Programming Tutorials does not use a ContentProvider (particularly look at tutorial #11). Neither does this sample app.

CommonsWare
Checked it out. Great resource. Thanks!
Julian