-2

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

2
  • 2
    Are you referring to SQLite? And your question is unclear, did you display results from a query onto a Spinner? Do you have any code? Commented Jan 30, 2010 at 4:05
  • This is an exact copy of this question: stackoverflow.com/questions/2153022/… Commented Feb 2, 2010 at 11:35

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.