通过独立的 Android 应用程序进行网络评论和访问数据

发布于 2024-11-13 09:32:22 字数 373 浏览 2 评论 0原文

对于 Android 来说还是个新手,而且还会持续一段时间。我需要一些入门帮助。这是我正在尝试做的事情,分为两部分。

第一部分 - 我想要一个网站,让用户有机会输入有关该地区各个吃饭的地方或要做的事情的信息。随着越来越多的人输入评论和想法,所有这些信息都将存储在在线数据库中。

第二部分 - 接下来,我想开发一个 Android 应用程序,它可以直接从同一个在线数据库中提取数据并将其显示在应用程序中,而无需访问网站。

我的问题 Android 应用程序可以访问任何用于存储用户不断更新的内容的在线数据库吗?

我正在设计我的网站,希望确保网站的功能允许我的 Android 应用程序主动打开数据连接并刷新不断更新的数据。有人能指出正确的方向吗?我几乎不知道从哪里开始。

Still new to android and will be for some time. I could use a little help getting started. Here is what I am trying to do, two parts.

Part one - I would like to have a website that would give users a chance to enter information about various places to eat or things to do in the area. All of that information would be stored on an online data base as more and more people enter reviews and ideas.

Part two - Next, I would like to develop an android app that would directly pull data from that very same online database and display it in the app with out going to the website.

My question(s)
Can an android app access any online database used to store such content that is continually updated by users?

I am in the process of designing my website and want to ensure the functionality of the website will allow my android app to actively open a data connection and refresh the data that is continuously updated. Can anyone point in the right direction? I pretty much don't know where to begin.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

樱娆 2024-11-20 09:32:22

Android 应用程序可以访问用于存储用户不断更新的此类内容的任何在线数据库吗?

是的。

为此,您需要某种服务器。你可以使用几乎任何你决定的东西,php 和 mysql 可能对你来说是一个不错的选择,通常是这样,它便宜、快速、灵活、易于学习、广为人知和支持。

如果人们在网上冲浪时需要与您的数据库进行交互,那么使用 PHP 就很容易做到。然后到一个android应用程序来访问它,它相对简单,只需谷歌或在此处搜索,以获取有关在android中从运行php的mysql数据库显示信息的许多问题。

您最好尽可能积极地探索上述内容,然后尽可能提出具体问题。将其分解,提出能够精确解决一个(小)问题的问题。

Can an android app access any online database used to store such content that is continually updated by users?

Yes.

You need a server of some sort for that. You could use pretty much anything you decide, php with mysql is probably a good choice for you, it usually is, it's cheap, fast, flexible, easy to learn, widely known and supported.

If people need to interact with your database while they're surfing the web, that would be very easy to do in PHP. Then to an android app to access it, it's relatively straight forward, just google or search here on SO for the many, many questions on showing information in android from a mysql database running php.

You're better off exploring the above with as much vigour as you can, then ask as specific questions as you can. Split it up, ask questions that solve precisely one (small) problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文