In Android, what is the simplest approach to the following:
- Load an image from a remote server.
- Display it in an ImageView.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a method that I actually used in an application and I know it works:
I have no idea what the second parameter to
Drawable.createFromStreamis, but passing"src"seems to work. If anyone knows, please shed some light, as the docs don’t really say anything about it.