java - 能不能将图片资源预先存储到空间,然后通过客户端下载图片资源?
巴扎黑
巴扎黑 2017-04-17 18:00:55
0
6
396
我正在开发一款背单词的app.每个单词都会对应一张图片资源(以该单词命名),我打算将所有的图片资源全部预先储存到空间里,然后在客户端上进行访问和下载(通过资源名访问),那么问题来了,预先将图片志愿存储到空间,然后在客户端上直接通过资源名来访问对应的资源,这种方式是否可行?
初来乍到,勿怪勿怪。
巴扎黑
巴扎黑

reply all(6)
巴扎黑

There is a free API online, just call it directly!

洪涛

What do you mean by space?

Peter_Zhu

Alibaba Baichuan provides this service, free 20G storage http://wantu.taobao.com/mediaportal/index.htm?spm=a3c0d.7662652.1998907816.3.ZauPYd

大家讲道理

Recommend Qiniu Cloud Storage

洪涛

Whenever you access the image resources of the server, there must be a URL of the corresponding image. This is equivalent to requesting online to download the picture corresponding to the word every time you view it.
In addition, check the image requirements in your program, whether the image must be displayed when viewing the entry.
If not, it is feasible to use the method you mentioned to request download and display.
If yes, provide a method for reference. Pack the image resources into a zip package. When the application is running, let the user choose to download the zip package and access the image corresponding to the entry locally. This approach is recommended.

迷茫

Recommend Qiniu Cloud Storage

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template