public static Intent createIntentForCurrentScreen(Activity activity, boolean showTitleBar) {
   Intent intent;
   if (AndroidUtils.isSmallNormalOrLargeScreen()) {
     intent = new Intent(activity, Fullscreen.class);
     if (showTitleBar) {
       intent.putExtra(JR_OPERATION_MODE, JR_FULLSCREEN);
     } else {
       intent.putExtra(JR_OPERATION_MODE, JR_FULLSCREEN_NO_TITLE);
     }
   } else { // Honeycomb (because the screen is large+)
     intent = new Intent(activity, JRFragmentHostActivity.class);
     intent.putExtra(JR_OPERATION_MODE, JR_DIALOG);
   }
   return intent;
 }