diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-09-30 21:00:23 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-09-30 21:00:23 +0200 |
| commit | a79bd0ae7e43fa445e3b977750712376a28310a8 (patch) | |
| tree | 28200f369a124ce81f91f27bd476e25f92ef0c97 /main/src/cgeo/geocaching/apps/App.java | |
| parent | ca310f54024439ddcfe07419f9376564522ae969 (diff) | |
| download | cgeo-a79bd0ae7e43fa445e3b977750712376a28310a8.zip cgeo-a79bd0ae7e43fa445e3b977750712376a28310a8.tar.gz cgeo-a79bd0ae7e43fa445e3b977750712376a28310a8.tar.bz2 | |
#2210: convert cache list menus to resource
Diffstat (limited to 'main/src/cgeo/geocaching/apps/App.java')
| -rw-r--r-- | main/src/cgeo/geocaching/apps/App.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/apps/App.java b/main/src/cgeo/geocaching/apps/App.java index bc99526..7e70581 100644 --- a/main/src/cgeo/geocaching/apps/App.java +++ b/main/src/cgeo/geocaching/apps/App.java @@ -5,14 +5,20 @@ import cgeo.geocaching.Geocache; public interface App { public boolean isInstalled(); - public boolean isDefaultNavigationApp(); + /** + * 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) + * Whether or not the app can be used with the given cache (may depend on properties of the cache). * * @param cache * @return |
