public static Intent getUnregisterIntent(Context context, long l, String s) {
   context = new Intent(context, co / vine / android / service / GCMRegistrationService);
   context.setAction("co.vine.android.gcm.UNREGISTER");
   context.putExtra("user_id", l);
   context.putExtra("s_key", s);
   return context;
 }
 public static Intent a(
     Context paramContext, YelpBusiness paramYelpBusiness, ArrayList<String> paramArrayList) {
   paramContext = new Intent(paramContext, ActivityMessageTheBusinessBulkCompose.class);
   paramContext.putExtra("business", paramYelpBusiness);
   paramContext.putStringArrayListExtra("recipient_ids", paramArrayList);
   return paramContext;
 }
示例#3
0
 public static Intent getTabIntent(Context context, Tab tab, String s, String s1) {
   context = new Intent(context, ActivitySelector.getActivityClass(tab.getViewController()));
   if (StringUtils.isNotEmpty(tab.getUrl())) {
     context.putExtra("URL", tab.getUrl());
   }
   context.putExtra("TAB_UNIQUE_ID", tab.getId());
   context.putExtra("TAB_LABEL", tab.getLabel());
   context.putExtra("TAB_SPECIAL_ID", tab.getTabId());
   if (StringUtils.isNotEmpty(s1) && !s1.equalsIgnoreCase("0")) {
     context.putExtra("ITEM_ID", s1);
   } else {
     context.putExtra("ITEM_ID", tab.getItemId());
   }
   if (StringUtils.isNotEmpty(s) && !s.equalsIgnoreCase("0")) {
     context.putExtra("SECTION_ID", s);
   } else {
     context.putExtra("SECTION_ID", tab.getSectionId());
   }
   context.putExtra("USE_NATIVE_BROWSER", tab.isOpenInSafari());
   context.putExtra("TAB_FRAGMENT", tab.getViewController());
   return context;
 }
示例#4
0
 public static Intent a(Context context, aei aei1) {
   context = new Intent(context, yg);
   context.putExtra("review_sing_along_recording", aei1);
   return context;
 }
 public static Intent a(Context context, ActivityType activitytype) {
   context = new Intent(context, com / fitbit / activity / ui / landing / ActivityLandingActivity);
   context.putExtra(
       "com.fitbit.activity.ui.landing.ActivityLandingActivity.EXTRA_ACTIVITY_TYPE", activitytype);
   return context;
 }