Esempio n. 1
0
        private void Button_InstallAPK_OnClick(object sender, RoutedEventArgs e)
        {
            if (ListBox_APKList.SelectedItem == null)
            {
                NotificationUtility.ShowMessage("Please select an APK.");
                return;
            }

            var apk = Path.Combine(TextBox_APKDirectory.Text, ListBox_APKList.SelectedItem.ToString());

            InvokeNotifyStartEvent($"Attempting to install {apk}...");
            AndroidDevice.InstallAPK(apk);
        }
Esempio n. 2
0
        private void Button_DeleteVSFolderForMobile_OnClick(object sender, RoutedEventArgs e)
        {
            var output = FileSystemUtility.RemoveFolder(Path.Combine(FolderPaths.EFS_ANDROID_REPO, @"eFleetDroid\.vs"));

            NotificationUtility.ShowMessage(output.Message);
        }