Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Help with webview


I was watch for http://teamtreehouse.com/library/android-development/build-a-blog-reader-app/rebuilding-from-scratch/creating-the-project-and-listactivity but I just want to use the webview instead the blogread as I can see in the android developer: http://developer.android.com/reference/android/webkit/WebView.html and enable the javascript also, in your course it's use the Listview not the WebView

But when I try to following the forums: https://teamtreehouse.com/forum/url-not-loading-in-webview?topic=Android it still couldn't because he was used the

import android.support.v4.app.Fragment;

I'm still confuse to use that webview, perhaps someone here could help me. Here in the workspace files http://www.mediafire.com/?sqygru46qiec93s

2 Answers

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hi Aryo,

I'm sorry, I'm not sure exactly what you are trying to accomplish here. The idea of the app in the course is to first display a list of blog posts, and then when you tap on an item in the list, we open the actual blog post in a WebView in a separate Activity. You can download the app to see how it works: https://play.google.com/store/apps/details?id=com.teamtreehouse.blogreader

If you are talking about displaying a webpage in a WebView like that, then you might just want to keep going with the course and see how we cover that specific topic. :smile:


Thanks for your response Ben,

Please kindly to close the thread.