views:

178

answers:

2

How to display particular array of items from a database (Mysql) in a Spinner of Android?

+1  A: 

Android uses SQLLite, so you could display the data from SqlLite in the spinner. Here is an example of how to do that. Otherwise if you really need to use mysql, you would probably want to set up a web service on a server which queries the mysql database and your app could call the web service to populate the spinner.

Jay Askren
A: 

*I am not using SQLLite, but using phpmyadmin... But i am able to add data from android into the databse and now i want to display those data that i added back to android... Any idea?*

felicia
How are you adding the data "from android into the database"?
Jay Askren