public void View(string path, ContextObject context) { var apk = AAPTool.Decompile(path); if (apk.IsEmpty) { context.ViewerContent = new System.Windows.Controls.Label() { Content = "Can not load package.", Foreground = System.Windows.Media.Brushes.White, FontSize = 16, VerticalAlignment = VerticalAlignment.Center, HorizontalAlignment = HorizontalAlignment.Center, }; } else { context.ViewerContent = new ViewerPane(context) { ApkInfo = apk }; } context.IsBusy = false; }
public void Init() => AAPTool.Init();