Ejemplo n.º 1
0
 @Override
 protected void onTitleRightClick1() {
   super.onTitleRightClick1();
   boolean isLogin = ContentUtils.getLoginStatus(this);
   boolean re = false;
   switch (curPosition) {
     case POSITION0: // 二维码扫描
       // re = JumpIntent.jumpLogin_addShop(isLogin, API.SWEEP, this);
       // if (re) {
       // // pickImage();
       // startActivityForResult((new Intent(this,
       // OrderProductActivity.class)),
       // GlzxPagerFragment.OrderProductActivity_code);
       // }
       break;
     case POSITION3: // 其他
       re = JumpIntent.jumpLogin_addShop1(isLogin, API.OTHER, this);
       if (re) {
         Intent intent_more = new Intent(this, OtherActivity.class);
         startActivityForResult(intent_more, OTHERACTIVITY_CODE);
       }
       break;
   }
 }