调用和使用数据库/网站中的音频、视频和图像文件

发布于 2024-12-01 02:06:37 字数 324 浏览 0 评论 0原文

我不太确定最好的方法是什么。为了节省空间,我想让我的 Android 应用程序调用并使用来自外部源的音频、视频和图像文件,并将其流式传输到应用程序上。只是不知道该怎么做。首先,我应该将这些我想要调用的文件放在数据库中吗?或者也许是一个网站?另外,我如何从任何地方调用这些文件?任何帮助将不胜感激。如果您有任何与使用这些内容构建数据库(如果您推荐的话)和/或在应用程序中调用它相关的教程的链接,我将非常感谢您的帮助。

哦,我也很好奇能够上传信息,然后可以被某人调用来查看。例如,如果您看过那些笑话应用程序以及如何提交笑话,几秒钟后其他用户就可以查看它并且它会自动更新。任何有关这方面的信息也将不胜感激。提前感谢所有帮助。

I am not exactly sure what the best way to do this is. To save space, I would like to have my Android app call and use audio, video, and image files from an outside source and stream it on the app. Just not sure how to do this. First off should I be putting these files I want to call on a database? Or maybe a website? Also how would I call these files from wherever it is? Any help would be appreciated. If you have any links to any tutorials pertaining to either building the database (if you recommend that) with this stuff on it and/or calling it in the app I would greatly appreciate the assistance.

Oh also I am also curious about being able to upload information that can then be called by someone to be viewed. For example if you have seen those Joke apps and how you can submit a joke and seconds later it can be viewed by some other user and it automatically updates. Any info on that as well would also be greatly appreciated. Thanks to all help in advance.

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

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

发布评论

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

评论(1

月亮是我掰弯的 2024-12-08 02:06:37

音频、视频和图像几乎已经有存储库(youtube 和 picasso)
这只是了解链接的问题。尝试自己托管这些东西会带来更多麻烦。如果你真的想托管这些东西,我会推荐云存储。如果用户能够上传,我确信它会很快填满,

对于文本(以及用户之间共享数据),REST 服务可能是最好的。您可以拥有指向所需文件的链接,并将这些链接存储在 REST 服务链接到的数据库中。

最好的部分是 REST 服务也可以由云托管。

audio, video and images pretty much already have repos (youtube and picasso)
its just a matter of knowing the links. Trying to host this stuff yourself will create a lot more hassle. if you really want to host the stuff i would recommend cloud storage. if users have the ability to upload im sure it will fill up quickly

as for text (as well as for sharing data between users) REST services will probably be best. you can have links to the files you want and have those links stored in your database that the REST services link up to.

best part is that REST services can also be hosted by the cloud.

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