1

How to parse html ul li to array charsequence in android

view story
linux-howto

http://stackoverflow.com – I have a html view get from asset. But i want to parsing <ul><li>Category 1</li></ul> to be charsequence array, so I can put it into listview. My HTML data: <html> <body> <ul> <li>Category 1</li> <li>Category 2</li> <li>Category 3</li> <li>Category 4</li> </ul> </body> </html> I want to get result CharSequence[] myList={"Category 1","Category 2","Category 3","Category 4"}; Thanks very much. (HowTos)