Skip to content

Commit d560d42

Browse files
committed
Including a web link for command details
1 parent e00b335 commit d560d42

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/views/Form.Main.pas

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ implementation
6868
System.Threading, FMX.DialogService,
6969
Container.Images, Form.Factory, Form.Slider, Services.Factory, Services.ADB;
7070

71+
const
72+
CMD_DETAILS_REF_LINK =
73+
'Check out for more command details:' + #13#10
74+
+ 'http://delphi.org/2013/11/installing-and-running-android-apps-from-command-line/';
75+
7176
{$R *.fmx}
7277

7378
procedure TMainForm.btnRefreshDeviceClick(Sender: TObject);
@@ -296,6 +301,11 @@ function TMainForm.LoadModels(const AValidate: boolean): boolean;
296301
procedure TMainForm.Log(const AString: string);
297302
begin
298303
TThread.Synchronize(nil, procedure begin
304+
if mmLog.Lines.Count = 0 then begin
305+
mmLog.Lines.Add(CMD_DETAILS_REF_LINK);
306+
mmLog.Lines.Add(String.Empty);
307+
end;
308+
299309
mmLog.Lines.Add(AString);
300310
mmLog.GoToTextEnd();
301311
mmLog.GoToLineBegin();

0 commit comments

Comments
 (0)