private boolean isInvokedFromAttachment() {
        final Intent intent = getIntent();
        return Intent.ACTION_VIEW.equals(intent.getAction()) && intent.getData() != null;
    }
TODO Possibly parts should be a Thread not a Handler
main/src/main/java/cgeo/geocaching/CacheListActivity.java