static public void launchUri(Context context, Uri data) {
        Intent intent = getIntentForURI(data);
        if (intent != null) {
            context.startActivity(intent);
        } else {
            context.startActivity(new Intent(ACTION_VIEW, data).addCategory(CATEGORY_BROWSABLE));
        }
    }
Activity to launch other activities based on the intent's data {@link URI}
app/src/main/java/com/github/pockethub/android/ui/user/UriLauncherActivity.java