@NonNull
    @WorkerThread
    public static SearchResult getCachesByNextPage(@NonNull final OCApiConnector connector, @NonNull final Bundle context) {

        final String filterConfig = context.getString(SEARCH_CONTEXT_FILTER);
        if (filterConfig == null) {
            return new SearchResult();
        }
        final GeocacheFilter filter = GeocacheFilter.createFromConfig(filterConfig);
        final OriginGeocacheFilter origin = GeocacheFilter.findInChain(filter.getAndChainIfPossible(), OriginGeocacheFilter.class);
        if (origin != null && !origin.allowsCachesOf(connector)) {
            return new SearchResult();
        }
        final int alreadyTook = context.getInt(SEARCH_CONTEXT_TOOK_TOTAL, 0);

        return retrieveCaches(connector, filter, SEARCH_LOAD_NEXTPAGE, alreadyTook);
    }
Client for the OpenCaching API (Okapi).

@see <a href="http://www.opencaching.de/okapi/introduction.html">Okapi overview</a>
main/src/main/java/cgeo/geocaching/connector/oc/OkapiClient.java