wood burning stoves 2.0*
The moose likes Android and the fly likes database data -to-> List view, how Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "database data -to-> List view, how" Watch "database data -to-> List view, how" New topic
Author

database data -to-> List view, how

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
how populate a List View from database table records[sqlite]?
is more easy to populate with DB TABLE RECORDS:
1.RADIO BUTTONS or
2.LIST VIEW + RADIO BUTTONS ??

May in RADIO BUTTON GROUP have a LIST VIEW and again inside it(LIST VIEW) RADIO BUTTONS???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41062
    
  43
What's the connection between radio buttons, a list view, and data in a DB? Make sure to KeepItDown.


Ping & DNS - my free Android networking tools app
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

You can use SimpleCursorAdapter.


Life is easy because we write the source code.....
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
Ulf Dittmer wrote:What's the connection between radio buttons, a list view, and data in a DB? Make sure to KeepItDown.


may in List view appear radios? >>>>

each item in List View will have a radio, and the text will be from database table fields(concatenated)... when choose a radio and press MENU to appear menu of buttons or identically press a button at end of List, and you will choose edit/delete record or call record, well,

How a checked radio id[in a radio button group] is extracted in an Activity?
Misha van Tol
Ranch Hand

Joined: Jan 02, 2010
Posts: 56

Leonidas Savvides wrote:
may in List view appear radios?

Sure, you can create any View you want using all View widgets.
You'll need to override the getView method of the adapter to setup and fill each item.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: database data -to-> List view, how
 
Similar Threads
Populate Table Rows With Data from AJAX
SCJD Assignment
Problem in onclick radio and dynamically populated table
HTML forms
html radio button add to database