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
Neil Quinn
768 PointsOpening images within webView
I'm trying to figure out how to open images pulled from a website in my webView without it opening the web browser. When you click on the listView called "News" and are brought to the BlogWebViewActivity there are certain articles on the website that have images and when I click on them the application opens the web browser. I want to open the images natively. I've looked online and found 'ourBrow' as a means to do this:
ourBrow.setWebViewClient(new WebViewClient());
I'm unsure where to implement this in my code though!
here is my repository of the application:
1 Answer
Ben Jakuben
Treehouse TeacherAny progress with this one, too? I haven't heard of ourBrow; can you link to it?