protected static void launch(Class<? extends Activity> activity){
  final Intent intent=new Intent(application,activity);
  intent.putExtra(CONTENT,contentLayoutView);
  intent.putExtra(BG_COLOR,backgroundColor);
  intent.putExtra(INIT_ACTIVITY,initActivityName);
  intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
  application.startActivity(intent);
}

protected static void launch ( Class < ? extends Activity > activity ) { final Intent intent = new Intent ( application , activity ) ; intent . putExtra ( CONTENT , contentLayoutView ) ; intent . putExtra ( BG_COLOR , backgroundColor ) ; intent . putExtra ( INIT_ACTIVITY , initActivityName ) ; intent . setFlags ( Intent . FLAG_ACTIVITY_CLEAR_TASK | Intent . FLAG_ACTIVITY_NEW_TASK ) ; application . startActivity ( intent ) ; }
launch the activity with params
