今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
3.4 KiB

.class Lcom/viatech/camera/CreateLiveRTMPActivity$6;
.super Ljava/lang/Object;
.source "CreateLiveRTMPActivity.java"
# interfaces
.implements Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CreateLiveRTMPActivity;->doStartLiveStream()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/camera/CreateLiveRTMPActivity;
# direct methods
.method constructor <init>(Lcom/viatech/camera/CreateLiveRTMPActivity;)V
.locals 0
.prologue
.line 236
iput-object p1, p0, Lcom/viatech/camera/CreateLiveRTMPActivity$6;->this$0:Lcom/viatech/camera/CreateLiveRTMPActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onMessageResult(Ljava/lang/String;)V
.locals 5
.prologue
const v4, 0x7f0700cf
const/4 v3, 0x1
.line 241
:try_start_0
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
.line 242
const-string v1, "ret"
const/4 v2, -0x1
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v0
.line 243
if-eqz v0, :cond_0
.line 244
iget-object v0, p0, Lcom/viatech/camera/CreateLiveRTMPActivity$6;->this$0:Lcom/viatech/camera/CreateLiveRTMPActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveRTMPActivity;->access$400(Lcom/viatech/camera/CreateLiveRTMPActivity;)Landroid/app/ProgressDialog;
move-result-object v0
invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V
.line 245
sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
const v1, 0x7f0700cf
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Lcom/viatech/widget/VPaiToast;->show(II)V
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
.line 252
:cond_0
:goto_0
return-void
.line 247
:catch_0
move-exception v0
.line 248
const-string v0, "Vpai_LiveRTMPActivity"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "startLiveStream onMessage bad json: message = "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, 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 v1
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
.line 249
iget-object v0, p0, Lcom/viatech/camera/CreateLiveRTMPActivity$6;->this$0:Lcom/viatech/camera/CreateLiveRTMPActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveRTMPActivity;->access$400(Lcom/viatech/camera/CreateLiveRTMPActivity;)Landroid/app/ProgressDialog;
move-result-object v0
invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V
.line 250
sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
invoke-virtual {v0, v4, v3}, Lcom/viatech/widget/VPaiToast;->show(II)V
goto :goto_0
.end method