@@ -0,0 +1,579 @@
+package com.github.takuji31.appbase.util;%0Aimport android.content.Intent;%0Aimport android.net.Uri;%0A%0Apublic class IntentUtil %7B%0A%09public static Intent getOpenBrowserIntent(String urlString) %7B%0A%09%09return getOpenBrowserIntent(Uri.parse(urlString));%0A%09%7D%0A%0A%09public static Intent getOpenBrowserIntent(Uri uri) %7B%0A%09%09return new Intent(Intent.ACTION_VIEW, uri);%0A%09%7D%0A%0A%09public static Intent getTextShareIntent(String text) %7B%0A%09%09Intent intent = new Intent(Intent.ACTION_SEND);%0A%09%09intent.setType(%22text/plain%22);%0A%09%09intent.putExtra(Intent.EXTRA_TEXT, text);%0A%09%09return Intent.createChooser(intent, null);%0A%09%7D%0A%7D

add IntentUtil