how can i use this code on delphi 7?
i just want to create my own android tool,how can i use this code to do this
if the device detected(fastboot mode) then show to memo1 Device Connected else Device not connected
Thanks in advance,, Allah Bless you ♥
Memo1.Lines.Add('Searching device');
try
i:=0;
repeat
Res := (uni('fastboot devices'));
// Timer2.enabled:=true;
if Progressbar1.position=100 then
begin
Memo1.lines.add('Device Not Connected');
exit;
end;
inc(i);
until (Trim(Res) = 'fastboot');
Memo1.lines.add('Device Connected');
Asalamu Alaikum Brothers can you help me?
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
-
- Üye
- Mesajlar: 330
- Kayıt: 09 Mar 2004 11:18
- Konum: Konya
- İletişim:
Re: Asalamu Alaikum Brothers can you help me?
Aleyküm Selam
What is the content of Uni?
Res := (uni('fastboot devices'));
What is the content of Uni?