public void submitWeddingBookingInfo()
 {
   StringBuffer localStringBuffer = new StringBuffer("http://m.dianping.com/wed/mobile/hunyan/fuzzy/mobileWedHotelFuzzyRecommendResult/");
   localStringBuffer.append("shopId=").append(this.shopId);
   localStringBuffer.append("&phoneNo=").append(this.phoneNum);
   localStringBuffer.append("&dpId=").append(DeviceUtils.dpid());
   localStringBuffer.append("&cityId=").append(cityId());
   localStringBuffer.append("&tableType=").append(this.tableType);
   localStringBuffer.append("&priceType=").append(this.priceType);
   localStringBuffer.append("&regionType=").append(this.regionType);
   localStringBuffer.append("&categoryIds=").append(this.categoryIds);
   localStringBuffer.append("&source=").append(this.source);
   Object localObject2 = "";
   Object localObject1;
   if ((this.selectedRegions != null) && (this.selectedRegions.size() > 0))
   {
     Iterator localIterator = this.selectedRegions.iterator();
     if (localIterator.hasNext())
     {
       String str = (String)localIterator.next();
       DPObject[] arrayOfDPObject = this.regionList;
       int j = arrayOfDPObject.length;
       int i = 0;
       for (localObject1 = localObject2; ; localObject1 = localObject2)
       {
         localObject2 = localObject1;
         if (i >= j)
           break;
         DPObject localDPObject = arrayOfDPObject[i];
         localObject2 = localObject1;
         if (str.equals(localDPObject.getString("Name")))
           localObject2 = (String)localObject1 + localDPObject.getInt("ID") + ",";
         i += 1;
       }
     }
     localObject1 = ((String)localObject2).substring(0, ((String)localObject2).length() - 1);
   }
   while (true)
   {
     localStringBuffer.append("&regionIds=").append((String)localObject1);
     localStringBuffer.append("?dpshare=0");
     try
     {
       localObject1 = URLEncoder.encode(localStringBuffer.toString(), "UTF-8");
       localObject2 = new Intent("android.intent.action.VIEW");
       ((Intent)localObject2).setData(Uri.parse("dianping://weddinghotelweb?url=" + (String)localObject1));
       startActivity((Intent)localObject2);
       finish();
       return;
       localObject1 = "0";
     }
     catch (UnsupportedEncodingException localUnsupportedEncodingException)
     {
     }
   }
 }
 private void sendHistoryRequest()
 {
   MApiService localMApiService = (MApiService)getService("mapi");
   StringBuffer localStringBuffer = new StringBuffer("http://m.api.dianping.com/wedding/weddinghotelbookinghistory.bin?");
   localStringBuffer.append("dpid=").append(DeviceUtils.dpid());
   localStringBuffer.append("&userid=").append(getUserId());
   localStringBuffer.append("&type=1");
   this.mGetHistoryReq = BasicMApiRequest.mapiGet(localStringBuffer.toString(), CacheType.DISABLED);
   localMApiService.exec(this.mGetHistoryReq, this);
 }
 private String processParam(String paramString)
 {
   int i = paramString.indexOf('?');
   if (i < 0)
     return paramString;
   String str1 = paramString.substring(0, i + 1);
   Object localObject1 = paramString.substring(i + 1);
   Matcher localMatcher = sParamPattern.matcher(paramString);
   label821: label1218: label1989: 
   while (localMatcher.find())
   {
     Object localObject2 = localMatcher.group();
     Log.d(TAG, "process param: " + (String)localObject2);
     String str2 = ((String)localObject2).substring(1);
     String[] arrayOfString = str2.split("=");
     if (arrayOfString.length <= 1)
       continue;
     arrayOfString[0] = arrayOfString[0].toLowerCase();
     if ((!PARAM_KEYS.contains(arrayOfString[0])) || ((!"*".equals(arrayOfString[1])) && (!"!".equals(arrayOfString[1]))))
       continue;
     localObject2 = localObject1;
     if ("agent".equals(arrayOfString[0]))
       localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + "android");
     localObject1 = localObject2;
     if ("version".equals(arrayOfString[0]))
       localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + Environment.versionName());
     localObject2 = localObject1;
     if ("screen".equals(arrayOfString[0]))
       localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + DeviceUtils.screen(getActivity()));
     localObject1 = localObject2;
     if ("sessionid".equals(arrayOfString[0]))
       localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + Environment.sessionId());
     localObject2 = localObject1;
     if ("deviceid".equals(arrayOfString[0]))
       localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + DeviceUtils.imei());
     localObject1 = localObject2;
     if ("uuid".equals(arrayOfString[0]))
       localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + DeviceUtils.uuid());
     localObject2 = localObject1;
     if ("dpid".equals(arrayOfString[0]))
       localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + DeviceUtils.dpid());
     localObject1 = localObject2;
     if ("cityid".equals(arrayOfString[0]))
       localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + ((NovaActivity)getActivity()).cityId());
     localObject2 = localObject1;
     Object localObject3;
     Object localObject4;
     label741: label894: int j;
     if ("newtoken".equals(arrayOfString[0]))
     {
       localObject3 = ((BaseAccountService)((NovaActivity)getActivity()).accountService()).newToken();
       if ("*".equals(arrayOfString[1]))
       {
         localObject4 = new StringBuilder().append(arrayOfString[0]).append("=");
         localObject2 = localObject3;
         if (localObject3 == null)
           localObject2 = "";
         localObject2 = ((String)localObject1).replace(str2, (String)localObject2);
       }
     }
     else
     {
       localObject1 = localObject2;
       if ("token".equals(arrayOfString[0]))
       {
         localObject3 = ((NovaActivity)getActivity()).accountService().token();
         if (!"*".equals(arrayOfString[1]))
           break label1480;
         localObject4 = new StringBuilder().append(arrayOfString[0]).append("=");
         localObject1 = localObject3;
         if (localObject3 == null)
           localObject1 = "";
         localObject1 = ((String)localObject2).replace(str2, (String)localObject1);
       }
       localObject4 = getCurrentLocation();
       localObject3 = ((NovaActivity)getActivity()).locationService().location();
       localObject2 = localObject1;
       StringBuilder localStringBuilder;
       if ("latitude".equals(arrayOfString[0]))
       {
         localObject2 = localObject1;
         if ("*".equals(arrayOfString[1]))
         {
           localStringBuilder = new StringBuilder().append(arrayOfString[0]).append("=");
           if (localObject4 != null)
             break label1602;
           localObject2 = "";
           localObject2 = ((String)localObject1).replace(str2, (String)localObject2);
         }
       }
       localObject1 = localObject2;
       if ("longitude".equals(arrayOfString[0]))
       {
         localObject1 = localObject2;
         if ("*".equals(arrayOfString[1]))
         {
           localStringBuilder = new StringBuilder().append(arrayOfString[0]).append("=");
           if (localObject4 != null)
             break label1617;
           localObject1 = "";
           localObject1 = ((String)localObject2).replace(str2, (String)localObject1);
         }
       }
       localObject2 = localObject1;
       if ("accuracy".equals(arrayOfString[0]))
       {
         localObject2 = localObject1;
         if ("*".equals(arrayOfString[1]))
         {
           localStringBuilder = new StringBuilder().append(arrayOfString[0]).append("=");
           if (localObject4 != null)
             break label1632;
           localObject2 = "";
           label967: localObject2 = ((String)localObject1).replace(str2, (String)localObject2);
         }
       }
       localObject1 = localObject2;
       if ("address".equals(arrayOfString[0]))
       {
         localObject1 = localObject2;
         if ("*".equals(arrayOfString[1]))
         {
           if (localObject3 != null)
             break label1648;
           localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=");
         }
       }
       j = 0;
       localObject2 = localObject1;
       i = j;
       if (0 == 0)
       {
         localObject2 = localObject1;
         i = j;
         if ("latitude".equals(arrayOfString[0]))
         {
           localObject2 = localObject1;
           i = j;
           if ("!".equals(arrayOfString[1]))
           {
             if (localObject4 != null)
               break label1740;
             i = 1;
             localObject2 = localObject1;
           }
         }
       }
       label1104: localObject1 = localObject2;
       j = i;
       if (i == 0)
       {
         localObject1 = localObject2;
         j = i;
         if ("longitude".equals(arrayOfString[0]))
         {
           localObject1 = localObject2;
           j = i;
           if ("!".equals(arrayOfString[1]))
           {
             if (localObject4 != null)
               break label1790;
             j = 1;
             localObject1 = localObject2;
           }
         }
       }
       localObject2 = localObject1;
       i = j;
       if (j == 0)
       {
         localObject2 = localObject1;
         i = j;
         if ("accuracy".equals(arrayOfString[0]))
         {
           localObject2 = localObject1;
           i = j;
           if ("!".equals(arrayOfString[1]))
           {
             if (localObject4 != null)
               break label1840;
             i = 1;
             localObject2 = localObject1;
           }
         }
       }
       localObject1 = localObject2;
       j = i;
       if (i == 0)
       {
         localObject1 = localObject2;
         j = i;
         if ("address".equals(arrayOfString[0]))
         {
           localObject1 = localObject2;
           j = i;
           if ("!".equals(arrayOfString[1]))
           {
             if (localObject3 != null)
               break label1891;
             j = 1;
             localObject1 = localObject2;
           }
         }
       }
     }
     while (true)
     {
       if (j == 0)
         break label1989;
       this.mPendingUrl = paramString;
       this.mPendingEvendId = 4;
       if (((NovaActivity)getActivity()).locationService().status() <= 0)
         ((NovaActivity)getActivity()).locationService().refresh();
       if (((NovaActivity)getActivity()).locationService().status() != -1)
         ((NovaActivity)getActivity()).showProgressDialog("正在定位...");
       return null;
       localObject2 = localObject1;
       if (!"!".equals(arrayOfString[1]))
         break;
       if (localObject3 != null)
       {
         localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + (String)localObject3);
         break;
       }
       this.mLoginParams.add(new BasicNameValuePair("title", this.mTitle));
       ((NovaActivity)getActivity()).gotoLogin(this.mLoginParams);
       this.mPendingUrl = (str1 + (String)localObject1);
       this.mPendingEvendId = 2;
       return null;
       label1480: localObject1 = localObject2;
       if (!"!".equals(arrayOfString[1]))
         break label741;
       if (localObject3 != null)
       {
         localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + (String)localObject3);
         break label741;
       }
       this.mLoginParams.add(new BasicNameValuePair("title", this.mTitle));
       ((NovaActivity)getActivity()).gotoLogin(this.mLoginParams);
       this.mPendingUrl = (str1 + (String)localObject2);
       this.mPendingEvendId = 2;
       return null;
       localObject2 = Location.FMT.format(((Location)localObject4).latitude());
       break label821;
       label1617: localObject1 = Location.FMT.format(((Location)localObject4).longitude());
       break label894;
       label1632: localObject2 = Location.FMT.format(((Location)localObject4).accuracy());
       break label967;
       label1648: if (!android.text.TextUtils.isEmpty(((DPObject)localObject3).getString("Road")))
       {
         localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + Uri.encode(((DPObject)localObject3).getString("Address")));
         break label1045;
       }
       localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=");
       break label1045;
       label1740: localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + Location.FMT.format(((Location)localObject4).latitude()));
       i = j;
       break label1104;
       label1790: localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + Location.FMT.format(((Location)localObject4).longitude()));
       j = i;
       break label1161;
       localObject2 = ((String)localObject1).replace(str2, arrayOfString[0] + "=" + Location.FMT.format(((Location)localObject4).accuracy()));
       i = j;
       break label1218;
       label1891: if (!android.text.TextUtils.isEmpty(((DPObject)localObject3).getString("Road")))
       {
         localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=" + Uri.encode(((DPObject)localObject3).getString("Address")));
         j = i;
         continue;
       }
       localObject1 = ((String)localObject2).replace(str2, arrayOfString[0] + "=");
       j = i;
     }
   }
   label1045: label1602: return (String)(String)(String)(String)(str1 + (String)localObject1);
 }