V
V
Valera Kuznetsov2014-01-11 20:39:37
Android
Valera Kuznetsov, 2014-01-11 20:39:37

HTML display on Android + offline

There is a mobile app for the site. It takes the html news code from the database, how to display this html is basically clear, there are many options. The question is, how can you save images from this html for later display offline?
An example of a piece of html with an image from the news:

<a href="какой-то.сайт/wp-content/uploads/2014/01/imgFull.jpg">
<img class="alignnone size-medium wp-image-6 aligncenter" 
alt="imgFull" src="какой-то.сайт/wp-content/uploads/2014/01/imgFull-300x226.jpg" width="300" height="226" /></a>

As I understand it, it is necessary to parse html for the presence of images, load them, and change links in html to local ones?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question