android:访问服务器上的数据库
我正在尝试创建一个应用程序,该应用程序将向用户呈现表单并将用户输入存储到服务器上的数据库中。此外,该应用程序应该能够从数据库中获取数据并将其提供给用户。现在,上述数据库已经存在于服务器上,并且正在使用 PHP 站点来查询和插入数据库。我希望我的应用程序仅访问此数据库。谁能告诉我如何连接事物。如果您可以提供现有文章的链接,那就太好了。我还想知道如何在 Android 模拟器上测试此类应用程序。
i'm trying to create an app that would present a form to the user and stores the user input onto a database present on a server. Also this app should be able to take data from the database and give it to the user. Now, the above mentioned database is already present on a server and a PHP site is being used to query and insert into the database. I want to my app to access this database only. Can anyone tell me how to link up things. If u can provide a link to already existing article, that would also be great. Also i would like to know how to test such apps on the android emulator.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用 Json 格式才能在手机和服务器之间传输数据。阅读 这篇文章了解更多信息
You need to use Json format in order to transact data between your phone and server. Read this article for more info