Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about loadDataWithBaseUrl function  RSS feed

 
Ranch Hand
Posts: 31
C++ Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use webView.loadDataWithBaseUrl("",data,"text/html","utf-8",null) to display a html code,
but there is nothing to display,just a white background.
are there any body know what happen?
html code like "<p>hello world..</p>"
 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using

 
Yunnan Zhou
Ranch Hand
Posts: 31
C++ Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hardikļ¼Œthank you for you reply. but I had made it by another method.
 
Crusading Chameleon likes the size of this ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!