HtmlTextView

Project Url: ITAnt/HtmlTextView
Introduction: Show html codes in the TextView on Android 3.0 or higher version(especially dealing with showing images/pictures on the Internet).
More: Author   ReportBugs   
Tags:

Works bad on Android 7.0, not recommend.
Show html codes in the TextView on Android 3.0 or higher version.
As we can't do some downloading on Android 3.0 or higher version in the main thread, so we should download the images in the child thread, and then update the UI through handler.

How to use:

1.Add related permission in your AndroidManifest.xml:
android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE
2.Import ImageDownloader.java
3.Replace the TextView, local path that saves the image, and your html codes in MainActivity.java
image

Run your app, it looks like this:

image

Support Me
Apps
About Me
Google+: Trinea trinea
GitHub: Trinea