.class public Lnet/zzmh/tiandaocoupon/MainActivity;
.super Landroid/app/Activity;
.source "MainActivity.java"
# instance fields
.field btn1:Landroid/widget/Button;
.field btn2:Landroid/widget/Button;
.field edt1:Landroid/widget/EditText;
.field swt1:Landroid/widget/Switch;
# direct methods
.method public constructor <init>()V
.locals 0
.prologue
.line 21
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
.locals 2
.param p1, "savedInstanceState" # Landroid/os/Bundle;
.prologue
.line 28
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
.line 29
const/high16 v0, 0x7f030000
invoke-virtual {p0, v0}, Lnet/zzmh/tiandaocoupon/MainActivity;->setContentView(I)V
.line 31
invoke-static {p0}, Lnet/zzmh/tiandaocoupon/Sysini;->setmContext(Landroid/content/Context;)V
.line 33
const v0, 0x7f090001
invoke-virtual {p0, v0}, Lnet/zzmh/tiandaocoupon/MainActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/Button;
iput-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->btn1:Landroid/widget/Button;
.line 34
const v0, 0x7f090006
invoke-virtual {p0, v0}, Lnet/zzmh/tiandaocoupon/MainActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/Button;
iput-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->btn2:Landroid/widget/Button;
.line 35
const v0, 0x7f090002
invoke-virtual {p0, v0}, Lnet/zzmh/tiandaocoupon/MainActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/Switch;
iput-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->swt1:Landroid/widget/Switch;
.line 36
const v0, 0x7f090004
invoke-virtual {p0, v0}, Lnet/zzmh/tiandaocoupon/MainActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/EditText;
iput-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->edt1:Landroid/widget/EditText;
.line 37
iget-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->btn1:Landroid/widget/Button;
new-instance v1, Lnet/zzmh/tiandaocoupon/MainActivity$1;
invoke-direct {v1, p0}, Lnet/zzmh/tiandaocoupon/MainActivity$1;-><init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 45
iget-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->btn2:Landroid/widget/Button;
new-instance v1, Lnet/zzmh/tiandaocoupon/MainActivity$2;
invoke-direct {v1, p0}, Lnet/zzmh/tiandaocoupon/MainActivity$2;-><init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 58
iget-object v0, p0, Lnet/zzmh/tiandaocoupon/MainActivity;->swt1:Landroid/widget/Switch;
new-instance v1, Lnet/zzmh/tiandaocoupon/MainActivity$3;
invoke-direct {v1, p0}, Lnet/zzmh/tiandaocoupon/MainActivity$3;-><init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
invoke-virtual {v0, v1}, Landroid/widget/Switch;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V
.line 71
return-void
.end method
.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
.locals 2
.param p1, "menu" # Landroid/view/Menu;
.prologue
.line 76
invoke-virtual {p0}, Lnet/zzmh/tiandaocoupon/MainActivity;->getMenuInflater()Landroid/view/MenuInflater;
move-result-object v0
const/high16 v1, 0x7f080000
invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V
.line 77
const/4 v0, 0x1
return v0
.end method
.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
.locals 2
.param p1, "item" # Landroid/view/MenuItem;
.prologue
.line 85
invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I
move-result v0
.line 86
.local v0, "id":I
const v1, 0x7f090009
if-ne v0, v1, :cond_0
.line 87
const/4 v1, 0x1
.line 89
:goto_0
return v1
:cond_0
invoke-super {p0, p1}, Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z
move-result v1
goto :goto_0
.end method
.method public openAcc()V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.prologue
.line 98
new-instance v1, Landroid/content/Intent;
const-string v2, "/"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 99
.local v1, "intent":Landroid/content/Intent;
new-instance v0, Landroid/content/ComponentName;
const-string v2, "com.android.settings"
const-string v3, "com.android.settings.Settings"
invoke-direct {v0, v2, v3}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
.line 100
.local v0, "cm":Landroid/content/ComponentName;
invoke-virtual {v1, v0}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
.line 101
const-string v2, "android.intent.action.VIEW"
invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
.line 102
const/4 v2, 0x0
invoke-virtual {p0, v1, v2}, Lnet/zzmh/tiandaocoupon/MainActivity;->startActivityForResult(Landroid/content/Intent;I)V
.line 103
return-void
.end method
.method public test()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.prologue
.line 93
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
move-result-object v0
.line 94
.local v0, "runtime":Ljava/lang/Runtime;
const-string v1, "input keyevent 4"
invoke-virtual {v0, v1}, Ljava/lang/Runtime;->exec(Ljava/lang/String;)Ljava/lang/Process;
.line 95
sget-object v1, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v2, "Back"
invoke-virtual {v1, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
.line 96
return-void
.end method
4 个解决方案
#1
找到oncrete处的代码 和 这个switch按钮响应相关的功能, 然后就在oncreate代码处调用关闭功能.
#2
也就是说上面代码没有改状态的地方吗!.class public Lnet/zzmh/tiandaocoupon/Sysini;
.super Ljava/lang/Object;
.source "Sysini.java"
# static fields
.field public static delay:I
.field public static isOpen:Ljava/lang/Boolean;
.field public static mContext:Landroid/content/Context;
.field public static money:I
.field public static num:I
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
const/4 v0, 0x0
.line 6
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 7
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 8
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 9
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 10
const/4 v0, 0x0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-void
.end method
.method public constructor <init>()V
.locals 0
.prologue
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getDelay()I
.locals 1
.prologue
.line 44
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
return v0
.end method
.method public static getIsOpen()Ljava/lang/Boolean;
.locals 1
.prologue
.line 24
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
return-object v0
.end method
.method public static getMoney()I
.locals 1
.prologue
.line 36
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
return v0
.end method
.method public static getNum()I
.locals 1
.prologue
.line 20
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
return v0
.end method
.method public static getmContext()Landroid/content/Context;
.locals 1
.prologue
.line 12
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-object v0
.end method
.method public static setDelay(I)V
.locals 0
.param p0, "delay" # I
.prologue
.line 48
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 49
return-void
.end method
.method public static setIsOpen(Ljava/lang/Boolean;)V
.locals 0
.param p0, "isOpen" # Ljava/lang/Boolean;
.prologue
.line 28
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 29
return-void
.end method
.method public static setMoney(I)V
.locals 0
.param p0, "money" # I
.prologue
.line 40
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 41
return-void
.end method
.method public static setNum(I)V
.locals 0
.param p0, "num" # I
.prologue
.line 32
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 33
return-void
.end method
.method public static setmContext(Landroid/content/Context;)V
.locals 0
.param p0, "mContext" # Landroid/content/Context;
.prologue
.line 16
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
.line 17
return-void
.end method
这里有吗
.super Ljava/lang/Object;
.source "Sysini.java"
# static fields
.field public static delay:I
.field public static isOpen:Ljava/lang/Boolean;
.field public static mContext:Landroid/content/Context;
.field public static money:I
.field public static num:I
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
const/4 v0, 0x0
.line 6
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 7
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 8
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 9
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 10
const/4 v0, 0x0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-void
.end method
.method public constructor <init>()V
.locals 0
.prologue
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getDelay()I
.locals 1
.prologue
.line 44
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
return v0
.end method
.method public static getIsOpen()Ljava/lang/Boolean;
.locals 1
.prologue
.line 24
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
return-object v0
.end method
.method public static getMoney()I
.locals 1
.prologue
.line 36
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
return v0
.end method
.method public static getNum()I
.locals 1
.prologue
.line 20
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
return v0
.end method
.method public static getmContext()Landroid/content/Context;
.locals 1
.prologue
.line 12
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-object v0
.end method
.method public static setDelay(I)V
.locals 0
.param p0, "delay" # I
.prologue
.line 48
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 49
return-void
.end method
.method public static setIsOpen(Ljava/lang/Boolean;)V
.locals 0
.param p0, "isOpen" # Ljava/lang/Boolean;
.prologue
.line 28
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 29
return-void
.end method
.method public static setMoney(I)V
.locals 0
.param p0, "money" # I
.prologue
.line 40
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 41
return-void
.end method
.method public static setNum(I)V
.locals 0
.param p0, "num" # I
.prologue
.line 32
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 33
return-void
.end method
.method public static setmContext(Landroid/content/Context;)V
.locals 0
.param p0, "mContext" # Landroid/content/Context;
.prologue
.line 16
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
.line 17
return-void
.end method
这里有吗
#3
还有这个跟switch搜索出来的有关
.class Lnet/zzmh/tiandaocoupon/MainActivity$3;
.super Ljava/lang/Object;
.source "MainActivity.java"
# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lnet/zzmh/tiandaocoupon/MainActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
# direct methods
.method constructor <init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
.locals 0
.prologue
.line 1
iput-object p1, p0, Lnet/zzmh/tiandaocoupon/MainActivity$3;->this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
.line 58
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 1
.param p1, "buttonView" # Landroid/widget/CompoundButton;
.param p2, "isChecked" # Z
.prologue
.line 61
if-eqz p2, :cond_0
.line 63
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
.line 68
:goto_0
return-void
.line 66
:cond_0
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
goto :goto_0
.end method
大神看看怎么改
.class Lnet/zzmh/tiandaocoupon/MainActivity$3;
.super Ljava/lang/Object;
.source "MainActivity.java"
# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lnet/zzmh/tiandaocoupon/MainActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
# direct methods
.method constructor <init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
.locals 0
.prologue
.line 1
iput-object p1, p0, Lnet/zzmh/tiandaocoupon/MainActivity$3;->this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
.line 58
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 1
.param p1, "buttonView" # Landroid/widget/CompoundButton;
.param p2, "isChecked" # Z
.prologue
.line 61
if-eqz p2, :cond_0
.line 63
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
.line 68
:goto_0
return-void
.line 66
:cond_0
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
goto :goto_0
.end method
大神看看怎么改
#4
圈红线的地方是不是跟功能默认开启有关 怎样关闭呢
#1
找到oncrete处的代码 和 这个switch按钮响应相关的功能, 然后就在oncreate代码处调用关闭功能.
#2
也就是说上面代码没有改状态的地方吗!.class public Lnet/zzmh/tiandaocoupon/Sysini;
.super Ljava/lang/Object;
.source "Sysini.java"
# static fields
.field public static delay:I
.field public static isOpen:Ljava/lang/Boolean;
.field public static mContext:Landroid/content/Context;
.field public static money:I
.field public static num:I
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
const/4 v0, 0x0
.line 6
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 7
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 8
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 9
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 10
const/4 v0, 0x0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-void
.end method
.method public constructor <init>()V
.locals 0
.prologue
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getDelay()I
.locals 1
.prologue
.line 44
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
return v0
.end method
.method public static getIsOpen()Ljava/lang/Boolean;
.locals 1
.prologue
.line 24
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
return-object v0
.end method
.method public static getMoney()I
.locals 1
.prologue
.line 36
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
return v0
.end method
.method public static getNum()I
.locals 1
.prologue
.line 20
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
return v0
.end method
.method public static getmContext()Landroid/content/Context;
.locals 1
.prologue
.line 12
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-object v0
.end method
.method public static setDelay(I)V
.locals 0
.param p0, "delay" # I
.prologue
.line 48
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 49
return-void
.end method
.method public static setIsOpen(Ljava/lang/Boolean;)V
.locals 0
.param p0, "isOpen" # Ljava/lang/Boolean;
.prologue
.line 28
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 29
return-void
.end method
.method public static setMoney(I)V
.locals 0
.param p0, "money" # I
.prologue
.line 40
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 41
return-void
.end method
.method public static setNum(I)V
.locals 0
.param p0, "num" # I
.prologue
.line 32
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 33
return-void
.end method
.method public static setmContext(Landroid/content/Context;)V
.locals 0
.param p0, "mContext" # Landroid/content/Context;
.prologue
.line 16
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
.line 17
return-void
.end method
这里有吗
.super Ljava/lang/Object;
.source "Sysini.java"
# static fields
.field public static delay:I
.field public static isOpen:Ljava/lang/Boolean;
.field public static mContext:Landroid/content/Context;
.field public static money:I
.field public static num:I
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
const/4 v0, 0x0
.line 6
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 7
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 8
sput v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 9
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 10
const/4 v0, 0x0
sput-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-void
.end method
.method public constructor <init>()V
.locals 0
.prologue
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getDelay()I
.locals 1
.prologue
.line 44
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
return v0
.end method
.method public static getIsOpen()Ljava/lang/Boolean;
.locals 1
.prologue
.line 24
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
return-object v0
.end method
.method public static getMoney()I
.locals 1
.prologue
.line 36
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
return v0
.end method
.method public static getNum()I
.locals 1
.prologue
.line 20
sget v0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
return v0
.end method
.method public static getmContext()Landroid/content/Context;
.locals 1
.prologue
.line 12
sget-object v0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
return-object v0
.end method
.method public static setDelay(I)V
.locals 0
.param p0, "delay" # I
.prologue
.line 48
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->delay:I
.line 49
return-void
.end method
.method public static setIsOpen(Ljava/lang/Boolean;)V
.locals 0
.param p0, "isOpen" # Ljava/lang/Boolean;
.prologue
.line 28
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->isOpen:Ljava/lang/Boolean;
.line 29
return-void
.end method
.method public static setMoney(I)V
.locals 0
.param p0, "money" # I
.prologue
.line 40
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->money:I
.line 41
return-void
.end method
.method public static setNum(I)V
.locals 0
.param p0, "num" # I
.prologue
.line 32
sput p0, Lnet/zzmh/tiandaocoupon/Sysini;->num:I
.line 33
return-void
.end method
.method public static setmContext(Landroid/content/Context;)V
.locals 0
.param p0, "mContext" # Landroid/content/Context;
.prologue
.line 16
sput-object p0, Lnet/zzmh/tiandaocoupon/Sysini;->mContext:Landroid/content/Context;
.line 17
return-void
.end method
这里有吗
#3
还有这个跟switch搜索出来的有关
.class Lnet/zzmh/tiandaocoupon/MainActivity$3;
.super Ljava/lang/Object;
.source "MainActivity.java"
# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lnet/zzmh/tiandaocoupon/MainActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
# direct methods
.method constructor <init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
.locals 0
.prologue
.line 1
iput-object p1, p0, Lnet/zzmh/tiandaocoupon/MainActivity$3;->this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
.line 58
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 1
.param p1, "buttonView" # Landroid/widget/CompoundButton;
.param p2, "isChecked" # Z
.prologue
.line 61
if-eqz p2, :cond_0
.line 63
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
.line 68
:goto_0
return-void
.line 66
:cond_0
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
goto :goto_0
.end method
大神看看怎么改
.class Lnet/zzmh/tiandaocoupon/MainActivity$3;
.super Ljava/lang/Object;
.source "MainActivity.java"
# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lnet/zzmh/tiandaocoupon/MainActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
# direct methods
.method constructor <init>(Lnet/zzmh/tiandaocoupon/MainActivity;)V
.locals 0
.prologue
.line 1
iput-object p1, p0, Lnet/zzmh/tiandaocoupon/MainActivity$3;->this$0:Lnet/zzmh/tiandaocoupon/MainActivity;
.line 58
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 1
.param p1, "buttonView" # Landroid/widget/CompoundButton;
.param p2, "isChecked" # Z
.prologue
.line 61
if-eqz p2, :cond_0
.line 63
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
.line 68
:goto_0
return-void
.line 66
:cond_0
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-static {v0}, Lnet/zzmh/tiandaocoupon/Sysini;->setIsOpen(Ljava/lang/Boolean;)V
goto :goto_0
.end method
大神看看怎么改
#4
圈红线的地方是不是跟功能默认开启有关 怎样关闭呢