Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Android ImageView from URL

I'm trying to populate an imageView from an image on the server using a url. I've tried just about everything on the web but I keep getting errors with my bitmap. My imageView is in a fragment if that makes a difference.

Does anyone have a working example of this?

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

I think I have just what you're looking for. Check out this blog post I wrote about SmartImageView. Let me know if that helps or if you need something else!

Thanks Ben. Lifesaver.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I love that library! GitHub has some really useful stuff like that. Also check out this site: http://www.androidviews.net/

You trying to convert me into an Android Developer Ben? Those are cool. I'll have to play with them some after I get this google map to work :(. As soon as I get this android libraries stuff down, I can relate it to objective-c.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hehe - you can have the best of both worlds! I love iOS too (see my upcoming project), but my heart lies with Android. :smile:

I love to program any language I'm just having trouble with the first android app. After I iron out all the bugs, it'll be better I'm sure.