public static SelectAction getByRequestCode(final int requestCode) {
            for (SelectAction a : values()) {
                if (a.requestCode == requestCode) {
                    return a;
                }
            }
            return null;
        }
Important: this class will only work if you incorporate {@link #onActivityResult(int, int, Intent)}
into the {@link Activity#onActivityResult(int, int, Intent)} method of the using application!
TODO: once Activity ResultAPI is available -> refactor! Watch #9349
main/src/main/java/cgeo/geocaching/storage/ContentStorageActivityHelper.java