At the moment I am using a third party library called Android Query. I use it to download the webpage, then I parse the html for the bits that I want. These bits are mostly in one small part of the page, so the rest is discarded.
each page is about 100kb and I am fetching 200-300 pages which tastes a while especially on a slow connection.
Is there any method or library to allow m e to fetch a certain div?
The pages i am fetching are from google play market.
example code i am using
String url = "https://play.google.com/store/apps/details?id=com.touchtype.swiftkey";
aq.ajax(url, String.class, new AjaxCallback<String>() {
@Override
public void callback(String url, String html, AjaxStatus status) {
parseHtml(html);
}
});
edit: if is it not possible, is there a light weight version of Google play pages that I can access and download?