Exemple #1
0
        private async void StartFillFromRealDevice()
        {
            var dd = await Adb.GetDeviceData();

            c_DeviceId.Text              = Bot.GlobalSettings.Device.DeviceId = dd.DeviceId;
            c_AndroidBoardName.Text      = Bot.GlobalSettings.Device.AndroidBoardName = dd.AndroidBoardName;
            c_AndroidBootLoader.Text     = Bot.GlobalSettings.Device.AndroidBootLoader = dd.AndroidBootloader;
            c_DeviceBrand.Text           = Bot.GlobalSettings.Device.DeviceBrand = dd.DeviceBrand;
            c_DeviceModel.Text           = Bot.GlobalSettings.Device.DeviceModel = dd.DeviceModel;
            c_DeviceModelIdentifier.Text = Bot.GlobalSettings.Device.DeviceModelIdentifier = dd.DeviceModelIdentifier;
            c_HardwareManufacturer.Text  = Bot.GlobalSettings.Device.HardwareManufacturer = dd.HardwareManufacturer;
            c_HardWareModel.Text         = Bot.GlobalSettings.Device.HardWareModel = dd.HardwareModel;
            c_FirmwareBrand.Text         = Bot.GlobalSettings.Device.FirmwareBrand = dd.FirmwareBrand;
            c_FirmwareTags.Text          = Bot.GlobalSettings.Device.FirmwareTags = dd.FirmwareTags;
            c_FirmwareType.Text          = Bot.GlobalSettings.Device.FirmwareType = dd.FirmwareType;
            c_FirmwareFingerprint.Text   = Bot.GlobalSettings.Device.FirmwareFingerprint = dd.FirmwareFingerprint;
        }
Exemple #2
0
        private async void StartFillFromRealDevice()
        {
            var dd = await Adb.GetDeviceData();

            Bot.GlobalSettings.Device.DeviceId              = dd.DeviceId;
            Bot.GlobalSettings.Device.AndroidBoardName      = dd.AndroidBoardName;
            Bot.GlobalSettings.Device.AndroidBootLoader     = dd.AndroidBootloader;
            Bot.GlobalSettings.Device.DeviceBrand           = dd.DeviceBrand;
            Bot.GlobalSettings.Device.DeviceModel           = dd.DeviceModel;
            Bot.GlobalSettings.Device.DeviceModelIdentifier = dd.DeviceModelIdentifier;
            Bot.GlobalSettings.Device.HardwareManufacturer  = dd.HardwareManufacturer;
            Bot.GlobalSettings.Device.HardWareModel         = dd.HardwareModel;
            Bot.GlobalSettings.Device.FirmwareBrand         = dd.FirmwareBrand;
            Bot.GlobalSettings.Device.FirmwareTags          = dd.FirmwareTags;
            Bot.GlobalSettings.Device.FirmwareType          = dd.FirmwareType;
            Bot.GlobalSettings.Device.FirmwareFingerprint   = dd.FirmwareFingerprint;
            FillBoxesFromSettings();
        }