Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLite data query

 
Kate Wyatt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

Does anyone have a good method of retrieving SQLite data? I need to retrieve all the values in the database and the table is called Booking. I want to be able to populate a list view with the data but I'm not sure how it is done other than you need an array adapter potentially?
If anyone could point out how to do it as I'm quite confused about it, it would be of much use!

Class in database handler file


Method in Search Activity
 
This will take every ounce of my mental strength! All for a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!