@@ -0,0 +1,876 @@
+package io.github.droidkaigi.confsched2017.util;%0A%0Aimport android.app.Activity;%0Aimport android.net.Uri;%0Aimport android.support.annotation.NonNull;%0Aimport android.support.customtabs.CustomTabsIntent;%0Aimport android.support.v4.content.ContextCompat;%0Aimport android.text.TextUtils;%0Aimport android.webkit.URLUtil;%0A%0Aimport io.github.droidkaigi.confsched2017.R;%0A%0A/**%0A * Created by shihochan on 2017/02/15.%0A */%0A%0Apublic class AppUtil %7B%0A%0A    public static void openCustomTab(Activity activity, @NonNull String url) %7B%0A        if (TextUtils.isEmpty(url) %7C%7C !URLUtil.isNetworkUrl(url)) %7B%0A            return;%0A        %7D%0A%0A        CustomTabsIntent intent = new CustomTabsIntent.Builder()%0A                .setShowTitle(true)%0A                .setToolbarColor(ContextCompat.getColor(activity, R.color.theme))%0A                .build();%0A%0A        intent.launchUrl(activity, Uri.parse(url));%0A    %7D%0A%7D%0A

Implement app utility class and open chrome custom tabs method