Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Tim Cooke
Paul Clapham
Liutauras Vilda
Sheriffs:
Junilu Lacar
Rob Spoor
Jeanne Boyarsky
Saloon Keepers:
Stephan van Hulst
Carey Brown
Tim Holloway
Piet Souris
Bartenders:
Forum:
Android
How to query the database and display the result set in listview or gridview?
kushal dalal
Greenhorn
Posts: 1
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am working on a project in which i have to create a database and then add some items,that i have done.
Now i want to query the database and display the result set to some kind of listview or gridview.
Monu Tripathi
Rancher
Posts: 1369
1
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Your Adapter will have to extend a cursor class like ResourceCursorAdapter. For starters, take a look at the following example which use Cursor Adapters:
Sharkey's List
Binding data from database to a checkbox
[
List of FAQs
] | [
Android FAQ
] | [
Samuh Varta
]
Have you no shame? Have you no decency? Have you no tiny ad?
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to Implement Grid View in JSP Page?
How to display records in Grid view format in Jsp
Gridview is not working with android sliding drawer
what it the best from ListActivity andActivity
calculate ImageView dimentions before user interact the UI
More...