I have to display html content which i get from am xml(RSS feed).I am
using the loadDataWithBaseURL .
But if the the html content contains an image,how do i render the
image in the webview as in the html content.
webView.loadDataWithBaseURL(www.company.com,descHtmlString, text/
html, utf-8,
I am trying to show a html string such as
sample3 =a href=\www.google.com\Link text/aimg src=
http://www.isical.ac.in/~clia/images/google_logo.jpg;
webView.loadDataWithBaseURL(www.company.com,sample3 , text/html,
utf-8, www.companyfailed.com);
When this webview is displayed then i am not able
I'm guessing it was the first suggestion, not the other two.
Actually, they were such simple changes I made both at once. E.G. I
used UTF-8, instead of utf-8. And I switched to the
loadDataWithBaseURL function. The variable html was always a String so
no change there.
I'm guessing it's the
Ryan launch app run using debugger in Eclipse and post the debug
log..
Several of us are developing apps using Webview, I am and several
others so the better feedback we can give each other via this list and
others helps lift all our webview skills at once :)
On Jan 12, 3:19 pm, Ryan
Thanks for your reply Fred. The debug log shows the follwing line for
getting the text out with the xpp.next() function.
01-12 21:53:48.705: INFO/System.out(549): Text BRBTonight's
weather in London/BBRA few evening showers Min 6C(43F )
BRProbability of rain: 89%BRMinimum Temperature: 6C(43F
Actually, I think I am confusing the issue. I just tried the following
code inside my WebView:-
final String mimeType = text/html;
final String encoding = utf-8;
html = BRBTonight's weather in London/BBRA few evening
showers Min 6C(43F )BRProbability of rain: 89%BRMinimum
Temperature: 6C(43F
Ryan wrote:
Actually, I think I am confusing the issue. I just tried the following
code inside my WebView:-
final String mimeType = text/html;
final String encoding = utf-8;
html = BRBTonight's weather in London/BBRA few evening
showers Min 6C(43F )BRProbability of rain: 89%BRMinimum
Wow.. thanks Mark, that fixed it!
Do you know why that works, seems an odd way to get it to work??
On Jan 12, 10:10 pm, Mark Murphy mmur...@commonsware.com wrote:
Ryan wrote:
Actually, I think I am confusing the issue. I just tried the following
code inside my WebView:-
final String
Ryan wrote:
Wow.. thanks Mark, that fixed it!
I'm guessing it was the first suggestion, not the other two.
Do you know why that works, seems an odd way to get it to work??
It is definitely odd. However, it seems to cure a lot of ills, ills that
I presume come from some issues with the
9 matches
Mail list logo