예제 #1
0
 public static String getAppSubject(Context context) {
   label0:
   {
     String s = context.getString(com.biznessapps.layout.R.string.app_name);
     String s1 = context.getString(com.biznessapps.layout.R.string.code_name);
     if (!s1.equalsIgnoreCase("biznessapps")) {
       context = s;
       if (!s1.equalsIgnoreCase("previewapp11")) {
         break label0;
       }
     }
     context = AppCore.getInstance().getCachingManager().getAppCode();
   }
   return context;
 }
예제 #2
0
 public static void openTab(Context context, String s, String s1, String s2, Bundle bundle) {
   Object obj = AppCore.getInstance().getCachingManager().getTabList();
   Object obj1 = null;
   Iterator iterator = ((List) (obj)).iterator();
   do {
     obj = obj1;
     if (!iterator.hasNext()) {
       break;
     }
     obj = (Tab) iterator.next();
   } while (!((Tab) (obj)).getTabId().equalsIgnoreCase(s));
   if (obj != null) {
     s = getTabIntent(context, ((Tab) (obj)), s1, s2);
     if (bundle != null) {
       s.putExtras(bundle);
     }
     s.setFlags(0x10000000);
     context.startActivity(s);
   }
 }