能力值:
( 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