Reputation: 2171
Hello Everyone I am very new bee in android, so I am little confused on retrieving data from table... Should i use put(cv.put(DatabaseHelper.TITLE, title);) or get(cv.get(DatabaseHelper.TITLE, title);) to retrieve data from my class. Thanks
Upvotes: 0
Views: 718
Reputation:
I prefer get
to retrieve data
for more info Check below link:
Its explaining all basics about sqlite dataabse with android
http://droidreign.com/2010/10/dev-tutorials-android-sqlite-database-basics/
Upvotes: 0
Reputation: 4093
My best answer based on the information provided:
Use get to retrieve, i.e., get, data.
Also, take a look at the notepad tutorial for a decent introduction to using databases from an Android app.
Upvotes: 1