private void apkDecoder_InfoParsed(ApkDecoder apkDecoder) { this.BeginInvoke((Action)(() => { ios_CFBundleName.Text = apkDecoder.AppName; ios_CFBundleShortVersionString.Text = apkDecoder.AppVersion; ios_CFBundleVersion.Text = apkDecoder.AppVersionCode; ios_CFBundleIconFiles.Image = apkDecoder.AppIcon; })); }
private void Decode_android_Click(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(_filePath) || !Path.GetExtension(_filePath).Contains("apk")) { Choose_file_Click(null, null); return; } ApkDecoder apkDecoder = new ApkDecoder(_filePath); apkDecoder.InfoParsedEvent += new Action <ApkDecoder>(apkDecoder_InfoParsed); apkDecoder.AaptNotFoundEvent += new MethodInvoker(apkDecoder_AaptNotFound); }