Hi guys,

I have a database with 5 tables in it.There is a core layer which
communicates with the database and fetches the results and stores them in
memory temporarily.
Now my UI layer wishes to display the data retrieved by core layer in the
UI.
What i want to have ideally is to create an object of the core class and
call the DB operations whenever i want.The class which creates this core
object does not extend activity , but from examples i see , i need to pass
the activity as a context parameter to SQLiteOpenHelper.What context shd i
pass in that case ? There is also some concept of AsyncTask in Android but i
havent yet chkd how to use it.. Please help me on this one.. Thanks..Alok.

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