blob: 7e705811d1d27c2d028a722f46071d4f57d3870f (
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
|
package cgeo.geocaching.apps;
import cgeo.geocaching.Geocache;
public interface App {
public boolean isInstalled();
/**
* Whether or not an application can be used as the default navigation.
*/
public boolean isUsableAsDefaultNavigationApp();
public String getName();
/**
* @return the unique ID of the application, defined in res/values/ids.xml
*/
int getId();
/**
* Whether or not the app can be used with the given cache (may depend on properties of the cache).
*
* @param cache
* @return
*/
boolean isEnabled(final Geocache cache);
}
|