blob: 5eaefc9a98a411cafaa4ca29052a4dcb231dbfe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package cgeo.geocaching.apps.cachelist;
import cgeo.geocaching.R;
import cgeo.geocaching.SearchResult;
import cgeo.geocaching.cgCache;
import cgeo.geocaching.cgGeo;
import cgeo.geocaching.apps.AbstractApp;
import cgeo.geocaching.maps.CGeoMap;
import android.app.Activity;
import android.content.Context;
import java.util.List;
class InternalCacheListMap extends AbstractApp implements CacheListApp {
InternalCacheListMap() {
super(getString(R.string.cache_menu_map), null);
}
@Override
public boolean isInstalled(Context context) {
return true;
}
@Override
public boolean invoke(cgGeo geo, List<cgCache> caches, Activity activity, final SearchResult search) {
CGeoMap.startActivitySearch(activity, search, null);
return true;
}
}
|