How to download a image from URL in App

后端 未结 5 546
长情又很酷
长情又很酷 2021-01-03 14:40

I\'d like to know how I can download an Image from a given URL and display it inside an ImageView. And is there any permissions required to men

5条回答
  •  余生分开走
    2021-01-03 15:17

    You need to set usage permission of INTERNET in android manifest file and use java.net.URL and java.net.URLConnection classes to request the URL.

提交回复
热议问题