displaying html characters in android view

Discussion in 'Application Development' started by kaancho, Oct 16, 2010.

  1. kaancho

    kaancho Member
    15

    Jul 15, 2010
    19
    0
    15
    hi
    How do I display the HTML character in android view.
    I get break tags "<br>" and "<p>" tags displaying in the view
     

    Advertisement
  2. id0001

    id0001 Well-Known Member
    38

    Apr 20, 2010
    142
    23
    38
    Student.. also software developer
    Netherlands
    Use a webview
     
  3. kaancho

    kaancho Member
    15

    Jul 15, 2010
    19
    0
    15
    ok,
    I changed my view from "textview" to webview".
    However, when i use loadData to set content inside a webview it comes up as blank.

    Each webview is a row in a ListView if that helps.

    Any idea what i need to do to fix this?
     
  4. kaancho

    kaancho Member
    15

    Jul 15, 2010
    19
    0
    15
    This is the layout.xml and the java.

     
  5. kaancho

    kaancho Member
    15

    Jul 15, 2010
    19
    0
    15
    any idea what needs to happen to make this display?
     
  6. Sam Voss

    Sam Voss Well-Known Member
    43

    Jun 25, 2010
    367
    44
    43
    Programmer, in school
    Wisconsin
    Thanks fr your post, this solves one of a few of the problems I'm having with one of my next updates!
     

Share This Page

Loading...