search

Home  >  Q&A  >  body text

java - 能不能将图片资源预先存储到空间,然后通过客户端下载图片资源?

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

reply all(6)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 18:02:55

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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 18:02:55

    What do you mean by space?

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 18:02:55

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

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 18:02:55

    Recommend Qiniu Cloud Storage

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 18:02:55

    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.

    reply
    0
  • 迷茫

    迷茫2017-04-17 18:02:55

    Recommend Qiniu Cloud Storage

    reply
    0
  • Cancelreply