private void showParseError(String url) {
        new MaterialDialog.Builder(this)
                .title(R.string.title_invalid_github_url)
                .content(MessageFormat.format(getString(R.string.message_invalid_github_url), url))
                .cancelListener(dialog -> finish())
                .positiveText(android.R.string.ok)
                .onPositive((dialog, which) -> finish())
                .show();
    }
Convert global view intent one into one that can be possibly opened
inside the current application.

@param intent
@return converted intent or null if non-application specific
app/src/main/java/com/github/pockethub/android/ui/user/UriLauncherActivity.java