Query the database and put the results in a CursorAdapter of some form.

Here is a sample project that does just that:

https://github.com/commonsguy/cw-android/tree/master/Database/Constants

On Fri, Mar 18, 2011 at 8:49 AM, Brad Stintson <[email protected]> wrote:
> I want to display two columns retrieved from database in a list view, which
> can be clicked. How to do that?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to