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

How can I create a local browser

Does anyone have source code for a local browser? I need to create a local browser to display images that link to websites. Does anyone know how to do this? If you can help with any part of this please help me, thank you.

3 Answers

Please can you provide more detail on what you're trying to achieve?

Am I right in saying you want to host a website locally which has images

I'm not sure what you mean exactly Keron John ; do you mean a website, stored locally on a machine, that can link to websites?

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Keron John , I'm not sure exactly what you mean. You can display images using ImageViews, and you could enable a listener to visit a URL when the image is tapped. Or if you want to display images from the web, you could use either a WebView or a 3rd party library like SmartImageView.