<NME> DirectionImage.java
<BEF> package cgeo.geocaching.ui;

import cgeo.geocaching.files.LocalStorage;
import cgeo.geocaching.network.Network;
import cgeo.geocaching.network.Parameters;

import ch.boye.httpclientandroidlib.HttpResponse;
import org.apache.commons.lang3.StringUtils;

public class DirectionImage {

    private static final HtmlImage HTML_IMAGE = new HtmlImage(HtmlImage.SHARED, false, false, false);

    private DirectionImage() {
        // utility class
    }
        }

        final HttpResponse httpResponse =
                Network.getRequest("http://www.geocaching.com/ImgGen/seek/CacheDir.ashx", new Parameters("k", code));
        if (httpResponse != null) {
            LocalStorage.saveEntityToFile(httpResponse, getDirectionFile(geocode, true));
        }
    public static Observable<BitmapDrawable> fetchDrawable(final String directionCode) {
        return HTML_IMAGE.fetchDrawable("https://www.geocaching.com/images/icons/compass/" + directionCode + ".gif");
    }

}

<MSG> fix #2733: acquire distance and direction for basic members

A recent change in geocaching.com way of presenting the distance and
direction information for basic members requires a new parsing.

<DFF> @@ -2,7 +2,6 @@ package cgeo.geocaching.ui;
 
 import cgeo.geocaching.files.LocalStorage;
 import cgeo.geocaching.network.Network;
-import cgeo.geocaching.network.Parameters;
 
 import ch.boye.httpclientandroidlib.HttpResponse;
 import org.apache.commons.lang3.StringUtils;
@@ -17,7 +16,7 @@ public class DirectionImage {
         }
 
         final HttpResponse httpResponse =
-                Network.getRequest("http://www.geocaching.com/ImgGen/seek/CacheDir.ashx", new Parameters("k", code));
+                Network.getRequest("http://www.geocaching.com/images/icons/compass/" + code + ".gif");
         if (httpResponse != null) {
             LocalStorage.saveEntityToFile(httpResponse, getDirectionFile(geocode, true));
         }

fix #2733: acquire distance and direction for basic members