首页
社区
课程
招聘
[求助]北斗星手机定位1.5破解
发表于: 2012-11-14 11:40 31179

[求助]北斗星手机定位1.5破解

2012-11-14 11:40
31179
北斗星手机定位 1.5.apk
这个软件因为里边装了积分墙,使用起来很不方便,所以想破解。可是讲过两天的破解仍没有办法。希望高手可以帮忙破解一下。怎样才可以使这个软件跳过验证积分。直接定位啊?请高手帮忙破解,方便的话,最好可以在说明一下破解步骤。谢谢。

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

上传的附件:
收藏
免费 0
支持
分享
最新回复 (9)
雪    币: 36
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
那位朋友可以帮忙弄一下啊?
2012-11-14 13:49
0
雪    币: 36
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
那位可以帮忙弄一下啊?
反编译出来的CLASS源码是这样的。
public class search extends function
  implements UpdatePointsNotifier
{
  public int Mbi135 = 115;
  public int Mbi60 = 45;

.smali语法是这样的。
# instance fields
.field public Mbi135:I
.field public Mbi60:I

我现在要在.smali语法中修改,打算给Mbi135及Mbi60两个变量赋值。请问具体应该怎样赋值啊?应该怎样编写啊?
2012-11-14 13:50
0
雪    币: 36
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
有没有朋友知道究竟应该怎样修改才能破解这个软件的限制啊?
2012-11-14 17:19
0
雪    币: 36
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
那位朋友可以帮忙破解一下啊?小弟感激不尽。谢谢
2012-11-15 14:20
0
雪    币: 36
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
源文件编码:

package goodyes.gps.waps;

import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.location.Location;
import android.location.LocationManager;
import android.media.MediaPlayer;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.Display;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.baidu.mobstat.StatService;
import com.waps.AppConnect;
import com.waps.UpdatePointsNotifier;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;

public class search extends function
  implements UpdatePointsNotifier
{
  public int Mbi135 = 115;
  public int Mbi60 = 45;
  public String city = null;
  public Button continuenext;
  public TextView getmethod;
  public TextView getphone;
  public TextView getprovider;
  public String gps_method;
  public String ing;
  private int is_referer_gps = 1;
  public TextView lastings;
  public TextView lastlats;
  public String lat;
  public LocationManager locationManager;
  final Runnable mUpdateResults = new Runnable()
  {
    public void run()
    {
      Toast.makeText(search.this, search.this.displayPointsText, 0).show();
      if (search.this.is_pay_success != 1)
        return;
      search.this.pay_success();
      search.this.is_pay_success = 0;
    }
  };
  public int mapnum = 0;
  private MediaPlayer mediaPlayer;
  public TextView msg;
  public Button normalmap;
  public String phonenum;
  public String provider = null;
  public int run_i = 0;
  public String zoom = "4";

  public void alert()
  {
    new AlertDialog.Builder(this).setTitle("提示!").setMessage("你需要消费" + String.valueOf(this.Mbi135) + "个M币来获取5-50米的精准定位\n" + "1.你可以获得最精准的经度和纬度\n" + "2.你可以获取5-50米的精准定位地图\n" + "备注:我们不会扣取你任何话费!请您合法使用!").setIcon(2130837504).setPositiveButton("确定", new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        if (search.this.globalmb != -1)
        {
          if (search.this.globalmb >= search.this.Mbi135)
            break label37;
          search.this.alert_notconsume();
        }
        while (true)
        {
          return;
          label37: search.this.is_Mbi_135 = 1;
          search.this.consume_offer_mbi(search.this.Mbi135);
        }
      }
    }).setNegativeButton("取消", new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        search.this.alertself();
      }
    }).create().show();
  }

  public void alert_notconsume()
  {
    if (this.mapnum == 3);
    for (String str = String.valueOf(this.Mbi135); ; str = String.valueOf(this.Mbi60))
    {
      new AlertDialog.Builder(this).setTitle("提示!").setMessage("你的账户不足" + str + "M币,确定是否免费获取M币?\n" + "我们不会扣取你的话费,建议在流量充足或者WIFI下挣M币").setIcon(2130837504).setPositiveButton("确定", new DialogInterface.OnClickListener()
      {
        public void onClick(DialogInterface paramDialogInterface, int paramInt)
        {
          search.this.open_offer();
        }
      }).setNegativeButton("取消", new DialogInterface.OnClickListener()
      {
        public void onClick(DialogInterface paramDialogInterface, int paramInt)
        {
          if (search.this.mapnum != 3)
            return;
          search.this.alertself();
        }
      }).create().show();
      return;
    }
  }

  public void alertself()
  {
    new AlertDialog.Builder(this).setTitle("转到定位自己?").setMessage("你已取消了定位别人,请你确定是否定位自己?\n在室内建议选择网络定位,在空旷地方选择GPS定位!\n定位自己必须开启手机的GPS定位或者网络定位").setIcon(2130837504).setPositiveButton("确定", new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        search.this.getlastlocation();
        search.this.playround(0);
      }
    }).setNegativeButton("取消", new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        if (search.this.mapnum == 3)
          search.this.continuenext.setVisibility(0);
        search.this.playround(0);
      }
    }).create().show();
  }

  public void change_map_alert()
  {
    new AlertDialog.Builder(this).setTitle("提示框").setMessage("如果不熟悉卫星地图,你只需要支付" + String.valueOf(this.Mbi60) + "M币我们为你转换成标准路线图!你能很清晰识别路线标注\n" + "确定吗?").setPositiveButton("确定", new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        if (search.this.globalmb != -1)
        {
          if (search.this.globalmb >= search.this.Mbi60)
            break label37;
          search.this.alert_notconsume();
        }
        while (true)
        {
          return;
          label37: search.this.is_Mbi_60 = 1;
          search.this.consume_offer_mbi(search.this.Mbi60);
        }
      }
    }).setNegativeButton("取消", new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
      }
    }).show();
  }

  public void consume_offer_mbi(int paramInt)
  {
    AppConnect.getInstance(this).spendPoints(paramInt, this);
  }

  public void getUpdatePoints(String paramString, int paramInt)
  {
    if (this.is_Mbi_135 == 1)
    {
      this.displayPointsText = ("成功消费" + String.valueOf(this.Mbi135) + "M币,剩余M币: " + paramInt);
      this.is_pay_success = 1;
      this.is_Mbi_135 = 0;
      StatService.onEvent(this, "1001", "支付115M币", 1);
    }
    while (true)
    {
      this.mHandler.post(this.mUpdateResults);
      return;
      if (this.is_Mbi_60 == 1)
      {
        this.displayPointsText = ("成功消费" + String.valueOf(this.Mbi60) + "M币,剩余M币: " + paramInt);
        this.is_pay_success = 1;
        this.is_Mbi_60 = 0;
        StatService.onEvent(this, "1002", "支付45M币", 1);
      }
      this.globalmb = paramInt;
      this.displayPointsText = ("剩余M币: " + paramInt);
    }
  }

  public void getUpdatePointsFailed(String paramString)
  {
    this.displayPointsText = paramString;
    this.mHandler.post(this.mUpdateResults);
  }

  public void getlastlocation()
  {
    TextView localTextView;
    if (this.provider != null)
    {
      this.locationManager.requestLocationUpdates(this.provider, 0L, 0.0F, new function.LocationListenerImpl(this));
      Location localLocation = this.locationManager.getLastKnownLocation(this.provider);
      localTextView = (TextView)findViewById(2131099672);
      if (localLocation == null)
        break label103;
      double d1 = localLocation.getLatitude();
      double d2 = localLocation.getLongitude();
      localTextView.setText("你的上次的经纬度:\n经度" + d2 + "\n纬度:" + d1);
      playsound();
    }
    while (true)
    {
      return;
      label103: localTextView.setText("无法获取上一次地理信息");
      playsound();
    }
  }

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903041);
    this.msg = ((TextView)findViewById(2131099674));
    AppConnect.getInstance(this);
    Intent localIntent = getIntent();
    this.phonenum = localIntent.getStringExtra("phonenum");
    this.gps_method = localIntent.getStringExtra("gps_method");
    this.getphone = ((TextView)findViewById(2131099662));
    this.getmethod = ((TextView)findViewById(2131099663));
    this.getprovider = ((TextView)findViewById(2131099664));
    this.normalmap = ((Button)findViewById(2131099676));
    this.continuenext = ((Button)findViewById(2131099677));
    this.mediaPlayer = MediaPlayer.create(this, 2130968577);
    this.locationManager = ((LocationManager)super.getSystemService("location"));
    if (this.gps_method.equals("gps_0"));
    for (this.provider = "gps"; ; this.provider = "network")
      do
      {
        2 local2 = new View.OnClickListener()
        {
          public void onClick(View paramView)
          {
            search.this.change_map_alert();
            search.this.query_offer_mbi();
          }
        };
        this.normalmap.setOnClickListener(local2);
        3 local3 = new View.OnClickListener()
        {
          public void onClick(View paramView)
          {
            if (search.this.mapnum != 3)
              return;
            search.this.alert();
          }
        };
        this.continuenext.setOnClickListener(local3);
        new GetphonebasicTask().execute(new String[0]);
        return;
      }
      while (!this.gps_method.equals("gps_1"));
  }

  public void onPause()
  {
    Log.w("Baidu Mobstat", "search.onPause()");
    super.onPause();
    StatService.onPause(this);
  }

  public void onResume()
  {
    Log.w("Baidu Mobstat", "search.OnResume()");
    super.onResume();
    return_search();
    StatService.onResume(this);
  }

  public void pay_success()
  {
    String str = null;
    if (this.mapnum == 3)
    {
      str = "扣取" + String.valueOf(this.Mbi135) + "M币成功,即将为你精确定位到50米范围!";
      this.continuenext.setVisibility(8);
    }
    while (true)
    {
      playround(1);
      new AlertDialog.Builder(this).setTitle("支付成功!").setMessage(str).setPositiveButton("确定", new DialogInterface.OnClickListener()
      {
        public void onClick(DialogInterface paramDialogInterface, int paramInt)
        {
          search.GetphotomapTask localGetphotomapTask = new search.GetphotomapTask(search.this);
          String[] arrayOfString = new String[3];
          arrayOfString[0] = search.this.lat;
          arrayOfString[1] = search.this.ing;
          arrayOfString[2] = search.this.zoom;
          localGetphotomapTask.execute(arrayOfString);
        }
      }).show();
      playsound();
      Toast.makeText(this, str, 1).show();
      return;
      if (this.mapnum != 6)
        continue;
      str = "扣取" + String.valueOf(this.Mbi60) + "M币成功,即将为你转化成标准路线图!";
      this.normalmap.setVisibility(8);
    }
  }

  public void playsound()
  {
    this.mediaPlayer.start();
  }

  public void return_search()
  {
    if (this.is_referer_gps == 1)
    {
      this.is_referer_gps = 0;
      label13: return;
    }
    if (this.mapnum == 3)
      alert();
    while (true)
    {
      query_offer_mbi();
      break label13:
      if (this.mapnum != 6)
        continue;
      change_map_alert();
    }
  }

  class GetphonebasicTask extends AsyncTask<String, Integer, String>
  {
    GetphonebasicTask()
    {
    }

    protected String doInBackground(String[] paramArrayOfString)
    {
      try
      {
        Thread.sleep(5000L);
        return "ok";
      }
      catch (InterruptedException localInterruptedException)
      {
        localInterruptedException.printStackTrace();
      }
    }

    protected void onCancelled()
    {
    }

    protected void onPostExecute(String paramString)
    {
      if (paramString != null)
        switch (search.this.run_i)
        {
        default:
        case 0:
        case 1:
        case 2:
        case 3:
        }
      while (true)
      {
        if (search.this.run_i < 3)
          new GetphonebasicTask(search.this).execute(new String[0]);
        search localsearch = search.this;
        localsearch.run_i = (1 + localsearch.run_i);
        return;
        search.this.getphone.setText("手机号码:" + search.this.phonenum);
        search.this.playsound();
        search.this.msg.setText("手机号码已经获得,正在获取定位编码...");
        continue;
        search.this.getmethod.setText("定位编号:" + search.this.gps_method);
        search.this.playsound();
        search.this.msg.setText("定位编码已经获得,正在获取定位类型...");
        continue;
        search.this.getprovider.setText("定位类型:" + search.this.provider);
        search.this.playsound();
        search.this.msg.setText("定位类型已经获得,正在获取经纬度...");
        continue;
        search.GetphonelocalTask localGetphonelocalTask = new search.GetphonelocalTask(search.this);
        String[] arrayOfString = new String[1];
        arrayOfString[0] = search.this.phonenum;
        localGetphonelocalTask.execute(arrayOfString);
      }
    }

    protected void onPreExecute()
    {
    }
  }

  class GetphonelatTask extends AsyncTask<String, Integer, String>
  {
    GetphonelatTask()
    {
    }

    protected String doInBackground(String[] paramArrayOfString)
    {
      String str1;
      try
      {
        Thread.sleep(5000L);
        String str2 = search.this.getlastlocation(paramArrayOfString[0]);
        str1 = str2;
        return str1;
      }
      catch (InterruptedException localInterruptedException)
      {
        localInterruptedException.printStackTrace();
        str1 = null;
      }
    }

    protected void onCancelled()
    {
    }

    protected void onPostExecute(String paramString)
    {
      if (paramString != null)
      {
        search.this.lastlats = ((TextView)search.this.findViewById(2131099669));
        search.this.lastings = ((TextView)search.this.findViewById(2131099671));
        Toast.makeText(search.this, "正在载入地图中,请稍后!", 1).show();
        search.this.lat = paramString.substring(0, paramString.indexOf(","));
        search.this.ing = paramString.substring(1 + paramString.indexOf(","));
        search.GetphotomapTask localGetphotomapTask = new search.GetphotomapTask(search.this);
        String[] arrayOfString = new String[3];
        arrayOfString[0] = search.this.lat;
        arrayOfString[1] = search.this.ing;
        arrayOfString[2] = search.this.zoom;
        localGetphotomapTask.execute(arrayOfString);
        search.this.lastlats.setText(search.this.lat.substring(0, 5) + "****(支付M币获取详细经度)");
        search.this.lastings.setText(search.this.ing.substring(0, 5) + "****(支付M币获取详细纬度)");
        search.this.playsound();
        search.this.msg.setText("经纬度已经获得,努力获取所在国家...");
      }
      while (true)
      {
        return;
        search.this.lat = "手机号码错误或者未开机";
        search.this.ing = "手机号码错误或者未开机";
        search.this.playround(0);
        search.this.lastlats.setText(search.this.lat);
        search.this.lastings.setText(search.this.ing);
        search.this.playsound();
      }
    }

    protected void onPreExecute()
    {
    }

    protected void onProgressUpdate(Integer[] paramArrayOfInteger)
    {
    }
  }

  class GetphonelocalTask extends AsyncTask<String, Integer, String>
  {
    GetphonelocalTask()
    {
    }

    protected String doInBackground(String[] paramArrayOfString)
    {
      String str1 = paramArrayOfString[0];
      String str2;
      try
      {
        Thread.sleep(5000L);
        String str3 = search.this.phone_address(str1);
        str2 = str3;
        return str2;
      }
      catch (InterruptedException localInterruptedException)
      {
        localInterruptedException.printStackTrace();
        str2 = null;
      }
    }

    protected void onCancelled()
    {
    }

    protected void onPostExecute(String paramString)
    {
      TextView localTextView = (TextView)search.this.findViewById(2131099666);
      String str;
      if (paramString != null)
      {
        search.this.city = paramString;
        str = "正常!";
        search.GetphonelatTask localGetphonelatTask = new search.GetphonelatTask(search.this);
        String[] arrayOfString = new String[1];
        arrayOfString[0] = search.this.city;
        localGetphonelatTask.execute(arrayOfString);
        search.this.msg.setText("手机号码状态获得,正在分析经纬度...");
      }
      while (true)
      {
        localTextView.setText("手机号码状态:" + str);
        search.this.playsound();
        return;
        str = "对方手机关机或未知错误!请重试";
        new AlertDialog.Builder(search.this).setTitle("提示框").setMessage("可能原因有4个,请逐步排除:\n1.手机关机或者无信号所致\n2.网速慢!建议切换到3G或者WIFI下使用\n3.你输入的手机号码错误\n4.软件兼容性问题,建议更换手机\n如果没有以上问题,重启再尝试!").setPositiveButton("确定", new search.GetphonelocalTask.1(this)).show();
      }
    }

    protected void onPreExecute()
    {
    }

    protected void onProgressUpdate(Integer[] paramArrayOfInteger)
    {
    }
  }

  class GetphotomapTask extends AsyncTask<String, Integer, Bitmap>
  {
    GetphotomapTask()
    {
    }

    protected Bitmap doInBackground(String[] paramArrayOfString)
    {
      int i = search.this.getWindowManager().getDefaultDisplay().getWidth();
      String str1 = "hybrid";
      if (search.this.mapnum == 6)
        str1 = "roadmap";
      String str2 = "http://maps.google.com/maps/api/staticmap?center=" + paramArrayOfString[0] + "," + paramArrayOfString[1] + "&zoom=" + paramArrayOfString[2] + "&size=" + i + "x250&maptype=" + str1 + "&format=jpg&sensor=true&language=zh-CN";
      label105: Object localObject;
      try
      {
        Thread.sleep(8000L);
        label182: localObject = null;
      }
      catch (MalformedURLException localMalformedURLException)
      {
        try
        {
          URL localURL = new URL(str2);
          localObject = localURL;
        }
        catch (MalformedURLException localMalformedURLException)
        {
          Bitmap localBitmap1;
          try
          {
            HttpURLConnection localHttpURLConnection = (HttpURLConnection)localObject.openConnection();
            localHttpURLConnection.setConnectTimeout(20000);
            localHttpURLConnection.setReadTimeout(50000);
            localHttpURLConnection.setDoInput(true);
            localHttpURLConnection.connect();
            InputStream localInputStream = localHttpURLConnection.getInputStream();
            Bitmap localBitmap2 = BitmapFactory.decodeStream(localInputStream);
            localInputStream.close();
            localBitmap1 = localBitmap2;
            return localBitmap1;
            localInterruptedException = localInterruptedException;
            localInterruptedException.printStackTrace();
            break label105:
            localMalformedURLException = localMalformedURLException;
            localMalformedURLException.printStackTrace();
          }
          catch (IOException localIOException)
          {
            localIOException.printStackTrace();
            localBitmap1 = null;
            break label182:
          }
        }
      }
    }

    protected void onCancelled()
    {
    }

    protected void onPostExecute(Bitmap paramBitmap)
    {
      String str;
      if (paramBitmap != null)
      {
        ((ImageView)search.this.findViewById(2131099675)).setImageBitmap(paramBitmap);
        search.this.playsound();
        switch (search.this.mapnum)
        {
        default:
          str = "抱歉!没有找到!";
          search.this.msg.setText("抱歉!出问题了,请重新再试");
          label91: Toast.makeText(search.this, str + "定位编号:" + search.this.zoom + "!请耐心等待……", 1).show();
          if (search.this.mapnum == 5)
          {
            search.this.lastlats.setText(search.this.lat);
            search.this.lastings.setText(search.this.ing);
            search.this.playsound();
            new AlertDialog.Builder(search.this).setTitle("恭喜你!").setMessage("恭喜你!已经成功为你精确到50米的范围.如果有误差,请你点击“问题反馈”\n").setPositiveButton("确定", new search.GetphotomapTask.1(this)).show();
          }
          search localsearch = search.this;
          localsearch.mapnum = (1 + localsearch.mapnum);
          if (search.this.mapnum != 1)
            break label447;
          search.this.zoom = "7";
          label261: if (search.this.mapnum != 3)
            break label543;
          if (!search.this.is_audit_return.equals("1"))
            break label301;
          search.this.query_offer_mbi();
          search.this.alert();
        case 0:
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
        case 6:
        }
      }
      while (true)
      {
        label301: return;
        str = "成功定位到国家!";
        search.this.msg.setText("success!正在确定所在省...");
        break label91:
        str = "成功定位到省份!";
        search.this.msg.setText("success!正在确定所在城市...");
        break label91:
        str = "成功定位到城市!";
        search.this.msg.setText("success!正在确定所在区县...");
        break label91:
        str = "成功定位到区县!";
        search.this.msg.setText("success!正在确定1公里范围...");
        break label91:
        str = "成功为你精确到1公里!";
        search.this.msg.setText("success!正在确定50米范围...");
        break label91:
        str = "成功为你精确到50米范围!";
        search.this.msg.setText("恭喜你!成功了");
        break label91:
        str = "成功为你精确到50米范围的标注题图!";
        search.this.msg.setText("恭喜你!标注地图成功!");
        search.this.playround(0);
        break label91:
        if (search.this.mapnum == 2)
          label447: search.this.zoom = "10";
        if (search.this.mapnum == 3)
          search.this.zoom = "13";
        if (search.this.mapnum == 4)
          search.this.zoom = "15";
        if (search.this.mapnum == 5);
        search.this.zoom = "16";
        break label261:
        label543: if (search.this.mapnum >= 6)
          continue;
        GetphotomapTask localGetphotomapTask = new GetphotomapTask(search.this);
        String[] arrayOfString = new String[3];
        arrayOfString[0] = search.this.lat;
        arrayOfString[1] = search.this.ing;
        arrayOfString[2] = search.this.zoom;
        localGetphotomapTask.execute(arrayOfString);
        continue;
        Toast.makeText(search.this, "失败了,请重试!", 0).show();
        search.this.playround(0);
      }
    }

    protected void onProgressUpdate(Integer[] paramArrayOfInteger)
    {
    }
  }
}
2012-11-15 19:42
0
雪    币: 36
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
smali编码:

.class public Lgoodyes/gps/waps/search;
.super Lgoodyes/gps/waps/function;
.source "search.java"

# interfaces
.implements Lcom/waps/UpdatePointsNotifier;

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lgoodyes/gps/waps/search$GetphonebasicTask;,
        Lgoodyes/gps/waps/search$GetphonelatTask;,
        Lgoodyes/gps/waps/search$GetphonelocalTask;,
        Lgoodyes/gps/waps/search$GetphotomapTask;
    }
.end annotation

# instance fields
.field public Mbi135:I

.field public Mbi60:I

.field public city:Ljava/lang/String;

.field public continuenext:Landroid/widget/Button;

.field public getmethod:Landroid/widget/TextView;

.field public getphone:Landroid/widget/TextView;

.field public getprovider:Landroid/widget/TextView;

.field public gps_method:Ljava/lang/String;

.field public ing:Ljava/lang/String;

.field private is_referer_gps:I

.field public lastings:Landroid/widget/TextView;

.field public lastlats:Landroid/widget/TextView;

.field public lat:Ljava/lang/String;

.field public locationManager:Landroid/location/LocationManager;

.field final mUpdateResults:Ljava/lang/Runnable;

.field public mapnum:I

.field private mediaPlayer:Landroid/media/MediaPlayer;

.field public msg:Landroid/widget/TextView;

.field public normalmap:Landroid/widget/Button;

.field public phonenum:Ljava/lang/String;

.field public provider:Ljava/lang/String;

.field public run_i:I

.field public zoom:Ljava/lang/String;

# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 32
    invoke-direct {p0}, Lgoodyes/gps/waps/function;-><init>()V

    .line 33
    const/16 v0, 0x73

    iput v0, p0, Lgoodyes/gps/waps/search;->Mbi135:I

    const/16 v0, 0x2d

    iput v0, p0, Lgoodyes/gps/waps/search;->Mbi60:I

    .line 34
    iput v1, p0, Lgoodyes/gps/waps/search;->mapnum:I

    .line 35
    iput v1, p0, Lgoodyes/gps/waps/search;->run_i:I

    .line 36
    const-string v0, "4"

    iput-object v0, p0, Lgoodyes/gps/waps/search;->zoom:Ljava/lang/String;

    .line 37
    iput-object v2, p0, Lgoodyes/gps/waps/search;->city:Ljava/lang/String;

    .line 45
    iput-object v2, p0, Lgoodyes/gps/waps/search;->provider:Ljava/lang/String;

    .line 51
    const/4 v0, 0x1

    iput v0, p0, Lgoodyes/gps/waps/search;->is_referer_gps:I

    .line 610
    new-instance v0, Lgoodyes/gps/waps/search$1;

    invoke-direct {v0, p0}, Lgoodyes/gps/waps/search$1;-><init>(Lgoodyes/gps/waps/search;)V

    iput-object v0, p0, Lgoodyes/gps/waps/search;->mUpdateResults:Ljava/lang/Runnable;

    .line 32
    return-void
.end method

# virtual methods
.method public alert()V
    .locals 4

    .prologue
    .line 389
    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 390
    const-string v2, "\u63d0\u793a\uff01"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 391
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u4f60\u9700\u8981\u6d88\u8d39"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v3, p0, Lgoodyes/gps/waps/search;->Mbi135:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\u4e2aM\u5e01\u6765\u83b7\u53d65-50\u7c73\u7684\u7cbe\u51c6\u5b9a\u4f4d\n"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 392
    const-string v3, "1.\u4f60\u53ef\u4ee5\u83b7\u5f97\u6700\u7cbe\u51c6\u7684\u7ecf\u5ea6\u548c\u7eac\u5ea6\n"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 393
    const-string v3, "2.\u4f60\u53ef\u4ee5\u83b7\u53d65-50\u7c73\u7684\u7cbe\u51c6\u5b9a\u4f4d\u5730\u56fe\n"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 394
    const-string v3, "\u5907\u6ce8\uff1a\u6211\u4eec\u4e0d\u4f1a\u6263\u53d6\u4f60\u4efb\u4f55\u8bdd\u8d39\uff01\u8bf7\u60a8\u5408\u6cd5\u4f7f\u7528\uff01"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 391
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 395
    const/high16 v2, 0x7f02

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 396
    const-string v2, "\u786e\u5b9a"

    new-instance v3, Lgoodyes/gps/waps/search$4;

    invoke-direct {v3, p0}, Lgoodyes/gps/waps/search$4;-><init>(Lgoodyes/gps/waps/search;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 414
    const-string v2, "\u53d6\u6d88"

    new-instance v3, Lgoodyes/gps/waps/search$5;

    invoke-direct {v3, p0}, Lgoodyes/gps/waps/search$5;-><init>(Lgoodyes/gps/waps/search;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 423
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 424
    .local v0, alertDialog:Landroid/app/Dialog;
    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 425
    return-void
.end method

.method public alert_notconsume()V
    .locals 5

    .prologue
    .line 453
    const/4 v1, 0x0

    .line 454
    .local v1, tishi_nobi:Ljava/lang/String;
    iget v2, p0, Lgoodyes/gps/waps/search;->mapnum:I

    const/4 v3, 0x3

    if-ne v2, v3, :cond_0

    .line 455
    iget v2, p0, Lgoodyes/gps/waps/search;->Mbi135:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    .line 459
    :goto_0
    new-instance v2, Landroid/app/AlertDialog$Builder;

    invoke-direct {v2, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 461
    const-string v3, "\u63d0\u793a\uff01"

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 462
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "\u4f60\u7684\u8d26\u6237\u4e0d\u8db3"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "M\u5e01\uff0c\u786e\u5b9a\u662f\u5426\u514d\u8d39\u83b7\u53d6M\u5e01\uff1f\n"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 463
    const-string v4, "\u6211\u4eec\u4e0d\u4f1a\u6263\u53d6\u4f60\u7684\u8bdd\u8d39\uff0c\u5efa\u8bae\u5728\u6d41\u91cf\u5145\u8db3\u6216\u8005WIFI\u4e0b\u6323M\u5e01"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 462
    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 464
    const/high16 v3, 0x7f02

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 465
    const-string v3, "\u786e\u5b9a"

    new-instance v4, Lgoodyes/gps/waps/search$7;

    invoke-direct {v4, p0}, Lgoodyes/gps/waps/search$7;-><init>(Lgoodyes/gps/waps/search;)V

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 474
    const-string v3, "\u53d6\u6d88"

    new-instance v4, Lgoodyes/gps/waps/search$8;

    invoke-direct {v4, p0}, Lgoodyes/gps/waps/search$8;-><init>(Lgoodyes/gps/waps/search;)V

    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 481
    invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 482
    .local v0, alertDialog:Landroid/app/Dialog;
    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 483
    return-void

    .line 457
    .end local v0           #alertDialog:Landroid/app/Dialog;
    :cond_0
    iget v2, p0, Lgoodyes/gps/waps/search;->Mbi60:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_0
.end method

.method public alertself()V
    .locals 4

    .prologue
    .line 486
    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 487
    const-string v2, "\u8f6c\u5230\u5b9a\u4f4d\u81ea\u5df1\uff1f"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 488
    const-string v2, "\u4f60\u5df2\u53d6\u6d88\u4e86\u5b9a\u4f4d\u522b\u4eba\uff0c\u8bf7\u4f60\u786e\u5b9a\u662f\u5426\u5b9a\u4f4d\u81ea\u5df1\uff1f\n\u5728\u5ba4\u5185\u5efa\u8bae\u9009\u62e9\u7f51\u7edc\u5b9a\u4f4d\uff0c\u5728\u7a7a\u65f7\u5730\u65b9\u9009\u62e9GPS\u5b9a\u4f4d\uff01\n\u5b9a\u4f4d\u81ea\u5df1\u5fc5\u987b\u5f00\u542f\u624b\u673a\u7684GPS\u5b9a\u4f4d\u6216\u8005\u7f51\u7edc\u5b9a\u4f4d"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 491
    const/high16 v2, 0x7f02

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 492
    const-string v2, "\u786e\u5b9a"

    new-instance v3, Lgoodyes/gps/waps/search$9;

    invoke-direct {v3, p0}, Lgoodyes/gps/waps/search$9;-><init>(Lgoodyes/gps/waps/search;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 501
    const-string v2, "\u53d6\u6d88"

    new-instance v3, Lgoodyes/gps/waps/search$10;

    invoke-direct {v3, p0}, Lgoodyes/gps/waps/search$10;-><init>(Lgoodyes/gps/waps/search;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 510
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 511
    .local v0, alertDialog:Landroid/app/Dialog;
    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 512
    return-void
.end method

.method public change_map_alert()V
    .locals 3

    .prologue
    .line 521
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 522
    const-string v1, "\u63d0\u793a\u6846"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 523
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u5982\u679c\u4e0d\u719f\u6089\u536b\u661f\u5730\u56fe\uff0c\u4f60\u53ea\u9700\u8981\u652f\u4ed8"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v2, p0, Lgoodyes/gps/waps/search;->Mbi60:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "M\u5e01\u6211\u4eec\u4e3a\u4f60\u8f6c\u6362\u6210\u6807\u51c6\u8def\u7ebf\u56fe\uff01\u4f60\u80fd\u5f88\u6e05\u6670\u8bc6\u522b\u8def\u7ebf\u6807\u6ce8\n"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 524
    const-string v2, "\u786e\u5b9a\u5417\uff1f"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 523
    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 525
    const-string v1, "\u786e\u5b9a"

    .line 526
    new-instance v2, Lgoodyes/gps/waps/search$11;

    invoke-direct {v2, p0}, Lgoodyes/gps/waps/search$11;-><init>(Lgoodyes/gps/waps/search;)V

    .line 525
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 538
    const-string v1, "\u53d6\u6d88"

    .line 539
    new-instance v2, Lgoodyes/gps/waps/search$12;

    invoke-direct {v2, p0}, Lgoodyes/gps/waps/search$12;-><init>(Lgoodyes/gps/waps/search;)V

    .line 538
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 545
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 547
    return-void
.end method

.method public consume_offer_mbi(I)V
    .locals 1
    .parameter "num"

    .prologue
    .line 583
    invoke-static {p0}, Lcom/waps/AppConnect;->getInstance(Landroid/content/Context;)Lcom/waps/AppConnect;

    move-result-object v0

    invoke-virtual {v0, p1, p0}, Lcom/waps/AppConnect;->spendPoints(ILcom/waps/UpdatePointsNotifier;)V

    .line 584
    return-void
.end method

.method public getUpdatePoints(Ljava/lang/String;I)V
    .locals 4
    .parameter "currencyName"
    .parameter "pointTotal"

    .prologue
    const/4 v3, 0x0

    const/4 v2, 0x1

    .line 588
    iget v0, p0, Lgoodyes/gps/waps/search;->is_Mbi_135:I

    if-ne v0, v2, :cond_0

    .line 589
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u6210\u529f\u6d88\u8d39"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v1, p0, Lgoodyes/gps/waps/search;->Mbi135:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "M\u5e01,\u5269\u4f59M\u5e01: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lgoodyes/gps/waps/search;->displayPointsText:Ljava/lang/String;

    .line 590
    iput v2, p0, Lgoodyes/gps/waps/search;->is_pay_success:I

    .line 592
    iput v3, p0, Lgoodyes/gps/waps/search;->is_Mbi_135:I

    .line 593
    const-string v0, "1001"

    const-string v1, "\u652f\u4ed8115M\u5e01"

    invoke-static {p0, v0, v1, v2}, Lcom/baidu/mobstat/StatService;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V

    .line 603
    :goto_0
    iget-object v0, p0, Lgoodyes/gps/waps/search;->mHandler:Landroid/os/Handler;

    iget-object v1, p0, Lgoodyes/gps/waps/search;->mUpdateResults:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 604
    return-void

    .line 594
    :cond_0
    iget v0, p0, Lgoodyes/gps/waps/search;->is_Mbi_60:I

    if-ne v0, v2, :cond_1

    .line 595
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u6210\u529f\u6d88\u8d39"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v1, p0, Lgoodyes/gps/waps/search;->Mbi60:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "M\u5e01,\u5269\u4f59M\u5e01: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lgoodyes/gps/waps/search;->displayPointsText:Ljava/lang/String;

    .line 596
    iput v2, p0, Lgoodyes/gps/waps/search;->is_pay_success:I

    .line 597
    iput v3, p0, Lgoodyes/gps/waps/search;->is_Mbi_60:I

    .line 598
    const-string v0, "1002"

    const-string v1, "\u652f\u4ed845M\u5e01"

    invoke-static {p0, v0, v1, v2}, Lcom/baidu/mobstat/StatService;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V

    goto :goto_0

    .line 600
    :cond_1
    iput p2, p0, Lgoodyes/gps/waps/search;->globalmb:I

    .line 601
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u5269\u4f59M\u5e01: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lgoodyes/gps/waps/search;->displayPointsText:Ljava/lang/String;

    goto :goto_0
.end method

.method public getUpdatePointsFailed(Ljava/lang/String;)V
    .locals 2
    .parameter "error"

    .prologue
    .line 606
    iput-object p1, p0, Lgoodyes/gps/waps/search;->displayPointsText:Ljava/lang/String;

    .line 607
    iget-object v0, p0, Lgoodyes/gps/waps/search;->mHandler:Landroid/os/Handler;

    iget-object v1, p0, Lgoodyes/gps/waps/search;->mUpdateResults:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 608
    return-void
.end method

.method public getlastlocation()V
    .locals 12

    .prologue
    .line 370
    iget-object v0, p0, Lgoodyes/gps/waps/search;->provider:Ljava/lang/String;

    if-eqz v0, :cond_0

    .line 371
    iget-object v0, p0, Lgoodyes/gps/waps/search;->locationManager:Landroid/location/LocationManager;

    .line 372
    iget-object v1, p0, Lgoodyes/gps/waps/search;->provider:Ljava/lang/String;

    const-wide/16 v2, 0x0

    const/4 v4, 0x0

    .line 373
    new-instance v5, Lgoodyes/gps/waps/function$LocationListenerImpl;

    invoke-direct {v5, p0}, Lgoodyes/gps/waps/function$LocationListenerImpl;-><init>(Lgoodyes/gps/waps/function;)V

    .line 371
    invoke-virtual/range {v0 .. v5}, Landroid/location/LocationManager;->requestLocationUpdates(Ljava/lang/String;JFLandroid/location/LocationListener;)V

    .line 374
    iget-object v0, p0, Lgoodyes/gps/waps/search;->locationManager:Landroid/location/LocationManager;

    iget-object v1, p0, Lgoodyes/gps/waps/search;->provider:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/location/LocationManager;->getLastKnownLocation(Ljava/lang/String;)Landroid/location/Location;

    move-result-object v8

    .line 375
    .local v8, location:Landroid/location/Location;
    const v0, 0x7f060018

    invoke-virtual {p0, v0}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/TextView;

    .line 376
    .local v11, textView5:Landroid/widget/TextView;
    if-eqz v8, :cond_1

    .line 377
    invoke-virtual {v8}, Landroid/location/Location;->getLatitude()D

    move-result-wide v6

    .line 378
    .local v6, latitude:D
    invoke-virtual {v8}, Landroid/location/Location;->getLongitude()D

    move-result-wide v9

    .line 379
    .local v9, longitude:D
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u4f60\u7684\u4e0a\u6b21\u7684\u7ecf\u7eac\u5ea6\uff1a\n\u7ecf\u5ea6"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v9, v10}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\n\u7eac\u5ea6\uff1a"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v11, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->playsound()V

    .line 385
    .end local v6           #latitude:D
    .end local v8           #location:Landroid/location/Location;
    .end local v9           #longitude:D
    .end local v11           #textView5:Landroid/widget/TextView;
    :cond_0
    :goto_0
    return-void

    .line 382
    .restart local v8       #location:Landroid/location/Location;
    .restart local v11       #textView5:Landroid/widget/TextView;
    :cond_1
    const-string v0, "\u65e0\u6cd5\u83b7\u53d6\u4e0a\u4e00\u6b21\u5730\u7406\u4fe1\u606f"

    invoke-virtual {v11, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->playsound()V

    goto :goto_0
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 6
    .parameter "savedInstanceState"

    .prologue
    .line 55
    invoke-super {p0, p1}, Lgoodyes/gps/waps/function;->onCreate(Landroid/os/Bundle;)V

    .line 56
    const v4, 0x7f030001

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->setContentView(I)V

    .line 57
    const v4, 0x7f06001a

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iput-object v4, p0, Lgoodyes/gps/waps/search;->msg:Landroid/widget/TextView;

    .line 58
    invoke-static {p0}, Lcom/waps/AppConnect;->getInstance(Landroid/content/Context;)Lcom/waps/AppConnect;

    .line 61
    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->getIntent()Landroid/content/Intent;

    move-result-object v1

    .line 62
    .local v1, intent:Landroid/content/Intent;
    const-string v4, "phonenum"

    invoke-virtual {v1, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, p0, Lgoodyes/gps/waps/search;->phonenum:Ljava/lang/String;

    .line 63
    const-string v4, "gps_method"

    invoke-virtual {v1, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, p0, Lgoodyes/gps/waps/search;->gps_method:Ljava/lang/String;

    .line 64
    const v4, 0x7f06000e

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iput-object v4, p0, Lgoodyes/gps/waps/search;->getphone:Landroid/widget/TextView;

    .line 65
    const v4, 0x7f06000f

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iput-object v4, p0, Lgoodyes/gps/waps/search;->getmethod:Landroid/widget/TextView;

    .line 66
    const v4, 0x7f060010

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iput-object v4, p0, Lgoodyes/gps/waps/search;->getprovider:Landroid/widget/TextView;

    .line 67
    const v4, 0x7f06001c

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/Button;

    iput-object v4, p0, Lgoodyes/gps/waps/search;->normalmap:Landroid/widget/Button;

    .line 68
    const v4, 0x7f06001d

    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/Button;

    iput-object v4, p0, Lgoodyes/gps/waps/search;->continuenext:Landroid/widget/Button;

    .line 69
    const v4, 0x7f040001

    invoke-static {p0, v4}, Landroid/media/MediaPlayer;->create(Landroid/content/Context;I)Landroid/media/MediaPlayer;

    move-result-object v4

    iput-object v4, p0, Lgoodyes/gps/waps/search;->mediaPlayer:Landroid/media/MediaPlayer;

    .line 72
    const-string v4, "location"

    invoke-super {p0, v4}, Lgoodyes/gps/waps/function;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/location/LocationManager;

    .line 71
    iput-object v4, p0, Lgoodyes/gps/waps/search;->locationManager:Landroid/location/LocationManager;

    .line 73
    iget-object v4, p0, Lgoodyes/gps/waps/search;->gps_method:Ljava/lang/String;

    const-string v5, "gps_0"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 74
    const-string v4, "gps"

    iput-object v4, p0, Lgoodyes/gps/waps/search;->provider:Ljava/lang/String;

    .line 79
    :cond_0
    :goto_0
    new-instance v2, Lgoodyes/gps/waps/search$2;

    invoke-direct {v2, p0}, Lgoodyes/gps/waps/search$2;-><init>(Lgoodyes/gps/waps/search;)V

    .line 87
    .local v2, normal_map:Landroid/view/View$OnClickListener;
    iget-object v4, p0, Lgoodyes/gps/waps/search;->normalmap:Landroid/widget/Button;

    invoke-virtual {v4, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 88
    new-instance v0, Lgoodyes/gps/waps/search$3;

    invoke-direct {v0, p0}, Lgoodyes/gps/waps/search$3;-><init>(Lgoodyes/gps/waps/search;)V

    .line 97
    .local v0, continues:Landroid/view/View$OnClickListener;
    iget-object v4, p0, Lgoodyes/gps/waps/search;->continuenext:Landroid/widget/Button;

    invoke-virtual {v4, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 98
    new-instance v3, Lgoodyes/gps/waps/search$GetphonebasicTask;

    invoke-direct {v3, p0}, Lgoodyes/gps/waps/search$GetphonebasicTask;-><init>(Lgoodyes/gps/waps/search;)V

    .line 99
    .local v3, taskfirst:Lgoodyes/gps/waps/search$GetphonebasicTask;
    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/String;

    invoke-virtual {v3, v4}, Lgoodyes/gps/waps/search$GetphonebasicTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    .line 100
    return-void

    .line 75
    .end local v0           #continues:Landroid/view/View$OnClickListener;
    .end local v2           #normal_map:Landroid/view/View$OnClickListener;
    .end local v3           #taskfirst:Lgoodyes/gps/waps/search$GetphonebasicTask;
    :cond_1
    iget-object v4, p0, Lgoodyes/gps/waps/search;->gps_method:Ljava/lang/String;

    const-string v5, "gps_1"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 76
    const-string v4, "network"

    iput-object v4, p0, Lgoodyes/gps/waps/search;->provider:Ljava/lang/String;

    goto :goto_0
.end method

.method public onPause()V
    .locals 2

    .prologue
    .line 574
    const-string v0, "Baidu Mobstat"

    const-string v1, "search.onPause()"

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 575
    invoke-super {p0}, Lgoodyes/gps/waps/function;->onPause()V

    .line 580
    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    .line 581
    return-void
.end method

.method public onResume()V
    .locals 2

    .prologue
    .line 552
    const-string v0, "Baidu Mobstat"

    const-string v1, "search.OnResume()"

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 553
    invoke-super {p0}, Lgoodyes/gps/waps/function;->onResume()V

    .line 554
    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->return_search()V

    .line 558
    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    .line 559
    return-void
.end method

.method public pay_success()V
    .locals 5

    .prologue
    const/16 v3, 0x8

    const/4 v4, 0x1

    .line 428
    const/4 v0, 0x0

    .line 429
    .local v0, tishi_Mbi:Ljava/lang/String;
    iget v1, p0, Lgoodyes/gps/waps/search;->mapnum:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_1

    .line 430
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u6263\u53d6"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v2, p0, Lgoodyes/gps/waps/search;->Mbi135:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "M\u5e01\u6210\u529f\uff0c\u5373\u5c06\u4e3a\u4f60\u7cbe\u786e\u5b9a\u4f4d\u523050\u7c73\u8303\u56f4\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 431
    iget-object v1, p0, Lgoodyes/gps/waps/search;->continuenext:Landroid/widget/Button;

    invoke-virtual {v1, v3}, Landroid/widget/Button;->setVisibility(I)V

    .line 436
    :cond_0
    :goto_0
    invoke-virtual {p0, v4}, Lgoodyes/gps/waps/search;->playround(I)V

    .line 437
    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 439
    const-string v2, "\u652f\u4ed8\u6210\u529f\uff01"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 440
    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 441
    const-string v2, "\u786e\u5b9a"

    .line 442
    new-instance v3, Lgoodyes/gps/waps/search$6;

    invoke-direct {v3, p0}, Lgoodyes/gps/waps/search$6;-><init>(Lgoodyes/gps/waps/search;)V

    .line 441
    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 448
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->playsound()V

    .line 449
    invoke-static {p0, v0, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 450
    return-void

    .line 432
    :cond_1
    iget v1, p0, Lgoodyes/gps/waps/search;->mapnum:I

    const/4 v2, 0x6

    if-ne v1, v2, :cond_0

    .line 433
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u6263\u53d6"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v2, p0, Lgoodyes/gps/waps/search;->Mbi60:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "M\u5e01\u6210\u529f\uff0c\u5373\u5c06\u4e3a\u4f60\u8f6c\u5316\u6210\u6807\u51c6\u8def\u7ebf\u56fe\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 434
    iget-object v1, p0, Lgoodyes/gps/waps/search;->normalmap:Landroid/widget/Button;

    invoke-virtual {v1, v3}, Landroid/widget/Button;->setVisibility(I)V

    goto :goto_0
.end method

.method public playsound()V
    .locals 1

    .prologue
    .line 517
    iget-object v0, p0, Lgoodyes/gps/waps/search;->mediaPlayer:Landroid/media/MediaPlayer;

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->start()V

    .line 518
    return-void
.end method

.method public return_search()V
    .locals 2

    .prologue
    .line 561
    iget v0, p0, Lgoodyes/gps/waps/search;->is_referer_gps:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    .line 562
    const/4 v0, 0x0

    iput v0, p0, Lgoodyes/gps/waps/search;->is_referer_gps:I

    .line 571
    :goto_0
    return-void

    .line 564
    :cond_0
    iget v0, p0, Lgoodyes/gps/waps/search;->mapnum:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_2

    .line 565
    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->alert()V

    .line 569
    :cond_1
    :goto_1
    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->query_offer_mbi()V

    goto :goto_0

    .line 566
    :cond_2
    iget v0, p0, Lgoodyes/gps/waps/search;->mapnum:I

    const/4 v1, 0x6

    if-ne v0, v1, :cond_1

    .line 567
    invoke-virtual {p0}, Lgoodyes/gps/waps/search;->change_map_alert()V

    goto :goto_1
.end method
2012-11-15 19:43
0
雪    币: 415
活跃值: (71)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
8
骗人的。只能定位自己,有鸟用。
2012-11-17 11:02
0
雪    币: 6934
活跃值: (2760)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
首先,这个软件是带有欺骗性质的,只能定位自己。
其次你都弄出来源代码了,修改相应的积分验证流程,然后重新打包不久OK了吗?

我小白,只是两个看法,欢迎拍砖。
2012-11-20 16:37
0
雪    币: 0
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
10
路过
2017-3-18 18:13
0
游客
登录 | 注册 方可回帖
返回
//