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 trialAryo Prakarsa
323 PointsHelp with webview
Hello,
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
Treehouse TeacherHi 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.
Aryo Prakarsa
323 PointsHello,
Thanks for your response Ben,
Please kindly to close the thread.