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.
我想为 OS 4.7 创建一个连接到远程 MySQL 数据库并从表中获取所有行并将它们显示在应用程序中的 BlackBerry 应用程序。
我搜索了一下,有人说我可以使用 PHP 作为设备上的应用程序进行对话的中间件,而不是直接访问数据库。
您可能在服务器上有该数据库。您不能直接从设备上的应用程序访问数据库。相反,您可以构建一个 Web 服务来访问该数据库并以易于解析的格式 (xml/json) 将信息返回给应用程序。然后应用程序将访问 Web 服务并解析它返回的响应。