@@ -0,0 +1,1025 @@
+/**   %0A * @Title: IntentUtil.java%0A * @Package me.pc.mobile.helper.util%0A * @Description: TODO%0A * @author SilentKnight %7C%7C happychinapc@gmail.com%0A * @date 2014 2014-11-25 %E4%B8%8A%E5%8D%8811:29:05%0A * @version V1.0.0 %0A */%0Apackage me.pc.mobile.helper.v14.util;%0A%0Aimport android.annotation.TargetApi;%0Aimport android.content.Context;%0Aimport android.content.Intent;%0Aimport android.os.Build;%0Aimport android.os.Bundle;%0A%0A/**%0A * @author SilentKnight%0A * %0A */%0Apublic final class IntentUtil %7B%0A%09private IntentUtil() %7B%0A%09%7D%0A%0A%09public static void defaultStart(Context context, Class%3C?%3E targetClzz) %7B%0A%09%09context.startActivity(new Intent(context, targetClzz));%0A%09%7D%0A%0A%09@TargetApi(Build.VERSION_CODES.JELLY_BEAN)%0A%09public static void startWithBundle(Context context, Class%3C?%3E targetClzz,%0A%09%09%09Bundle data) %7B%0A%09%09if (Build.VERSION.SDK_INT %3E= Build.VERSION_CODES.JELLY_BEAN) %7B%0A%09%09%09context.startActivity(new Intent(context, targetClzz), data);%0A%09%09%7D else %7B%0A%09%09%09Intent intent = new Intent(context, targetClzz);%0A%09%09%09intent.putExtras(data);%0A%09%09%09context.startActivity(intent);%0A%09%09%7D%0A%0A%09%7D%0A%7D%0A

Create IntentUtil.java