Jai Android
Jai Android

Reputation: 2171

How to select a particular record from database(SQLite) in android?

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

Answers (2)

user319198
user319198

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

Thane Anthem
Thane Anthem

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

Related Questions