Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Android 的 Spinner 中显示来自数据库(Mysql)的特定项目数组?
Android 使用 SQLLite,因此您可以在微调器中显示来自 SqlLite 的数据。 这是一个如何做到这一点的例子。否则,如果您真的需要使用 mysql,您可能希望在查询 mysql 数据库的服务器上设置 Web 服务,并且您的应用程序可以调用 Web 服务来填充微调器。