tags:

views:

49

answers:

2

How can use in my raw(html file) to webview?

A: 

You would use a WebView. Instantiate a WebView, and then call the method: webview.loadData(summary, "text/html", "utf-8"); // 'summary' is your raw html...

http://developer.android.com/reference/android/webkit/WebView.html

nicholas.hauschild
but, loadData(summary, "text/html", "utf-8"); summary must String type. I want to call from(R.raw.part.html). Thank anyway.
zayar
A: 

Sounds like something that was asked a few days ago. Check out my answer here: http://stackoverflow.com/questions/3295381/android-html-resource-with-references-to-other-resources/3295535#3295535

(This is regarding HTML files in the assets block, but I hope this works for you as well.)

EboMike
Could whoever voted this down have the courtesy to explain why?
EboMike