开发者

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

开发者 https://www.devze.com 2022-12-19 02:49 出处:网络
How to display particular array of i开发者_运维技巧tems from a database (Mysql) in a Spinner of Android?Android uses SQLLite, so you could display the data from SqlLite in the spinner.Here is an examp

How to display particular array of i开发者_运维技巧tems from a database (Mysql) in a Spinner of Android?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号