Example #1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            try
            {
                this.apkFile = new ApkFile();
                this.apkFile.EnableBackup              = AppSettings.EnableBackup;
                this.apkFile.OverWriteBackup           = AppSettings.OverWriteBackup;
                this.apkFile.EnableSigning             = AppSettings.EnableSigning;
                this.apkFile.CreateSeperateSigningFile = AppSettings.CreateSeperateSigningFile;

                this.apkFile.Decompiling      += this.Decompiling;
                this.apkFile.Decompiled       += this.Decompiled;
                this.apkFile.FrameworkMissing += this.FrameworkMissing;
                this.apkFile.Compiling        += this.Compiling;
                this.apkFile.Compiled         += this.Compiled;
                this.apkFile.Decompile();

                textBoxName.Text         = this.apkFile.ApplicationName;
                labelApkToolVersion.Text = Wrappers.Apktool.Version;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
                this.Close();
            }
        }
Example #2
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            try
            {
                this.apkFile = new ApkFile();
                this.apkFile.EnableBackup = AppSettings.EnableBackup;
                this.apkFile.OverWriteBackup = AppSettings.OverWriteBackup;
                this.apkFile.EnableSigning = AppSettings.EnableSigning;
                this.apkFile.CreateSeperateSigningFile = AppSettings.CreateSeperateSigningFile;

                this.apkFile.Decompiling += this.Decompiling;
                this.apkFile.Decompiled += this.Decompiled;
                this.apkFile.FrameworkMissing += this.FrameworkMissing;
                this.apkFile.Compiling += this.Compiling;
                this.apkFile.Compiled += this.Compiled;
                this.apkFile.Decompile();

                textBoxName.Text = this.apkFile.ApplicationName;
                labelApkToolVersion.Text = Wrappers.Apktool.Version;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
                this.Close();
            }
        }