简体   繁体   English

在哪里存储Android应用程序的图像?

[英]Where to store images for android app?

I'm creating a android application for Tourists. 我正在为游客创建一个android应用程序。 In that application user will be able to take photo and send them to storage. 在该应用程序中,用户将能够拍照并将其发送到存储。 Other users will be able to display this photos on their devices. 其他用户将可以在其设备上显示此照片。 My question what kind of storage I have to choose to only display that photos without downloading them ? 我的问题是我必须选择仅显示该照片而不下载它们的存储空间?

If one person takes the picture and another can view it on another device, it means you will have a server involved. 如果一个人拍照,而另一个人可以在另一台设备上观看,则意味着您将拥有一台服务器。 This means you'll need to download a version of the image (even just a low quality version of it as cache) or you cant view it. 这意味着您需要下载该图像的一个版本(甚至只是图像的低质量版本作为缓存),否则您将无法查看它。 Check out firebase -> firebase <- quite handy & well documented to do this kinda thing 查看firebase-> firebase <-非常方便并且有据可查,可以做这种事情

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM