Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

Simple query to get all records

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
How to write the simple query to get the records from the database.Using query function.

In android they have introduced new format for querying to the database.
query function.

Thanks in advance.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Report post to moderator
For which term did you search? You will find many examples and articles.
 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
I just want good example by using content resolver. Not by any other method.
cr.query(cr=ContentResolver)
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Report post to moderator
For that, too, you will find many examples if you search. It also seems to be the same question as http://www.coderanch.com/t/506904/Android/Mobile/Does-anyone-has-example-Content
 
    Bookmark Topic Watch Topic
  • New Topic