导航菜单

页面标题

页面副标题

Chaupal v3.2 - CaptureActivity.java 源代码

正在查看: Chaupal v3.2 应用的 CaptureActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.journeyapps.barcodescanner;

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import androidx.annotation.NonNull;
import ua.k;
import ua.l;

public class CaptureActivity extends Activity {
    private e a;
    private DecoratedBarcodeView c;

    protected DecoratedBarcodeView a() {
        setContentView(l.b);
        return (DecoratedBarcodeView) findViewById(k.a);
    }

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        this.c = a();
        e eVar = new e(this, this.c);
        this.a = eVar;
        eVar.p(getIntent(), bundle);
        this.a.l();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        this.a.u();
    }

    @Override
    public boolean onKeyDown(int i, KeyEvent keyEvent) {
        return this.c.onKeyDown(i, keyEvent) || super.onKeyDown(i, keyEvent);
    }

    @Override
    protected void onPause() {
        super.onPause();
        this.a.v();
    }

    @Override
    public void onRequestPermissionsResult(int i, @NonNull String[] strArr, @NonNull int[] iArr) {
        this.a.w(i, strArr, iArr);
    }

    @Override
    protected void onResume() {
        super.onResume();
        this.a.x();
    }

    @Override
    protected void onSaveInstanceState(Bundle bundle) {
        super.onSaveInstanceState(bundle);
        this.a.y(bundle);
    }
}