Download Images From URL to SD Card

前端 未结 5 421
不知归路
不知归路 2020-12-14 13:12

I am trying to create a very simple Image Downloading app. in which i want to download all images from this url to sd card: https://www.dropbox.com/sh/5be3kgehyg8uzh2

5条回答
  •  余生分开走
    2020-12-14 13:56

    Check these links

    Why use Android Picasso library to download images?

    http://www.opensourcealternative.org/tutorials/android-tutorials/android-picasso-save-image-tutorial/

    http://www.101apps.co.za/articles/gridview-tutorial-using-the-picasso-library.html

    http://www.youtube.com/watch?v=tRTFwzUH_ek

    http://square.github.io/picasso/

    Using Picasso, your code will be of only 1 line

    Picasso.with(context).load("your URL").into(your_imageView);
    

    To store into external sd card

    Android saving file to external storage

    Write a file in external storage in Android

    http://www.javatpoint.com/android-external-storage-example

提交回复
热议问题