Blocking dialogs not implemented on this platform – Delphi Firemonkey Android [duplicate]

  

This question already has an answer here:

Messagedlg in Delphi xe7 android

1 answer

I needed to use Firemonkey MessageDlg and InputBox a lot. In Windows everything is fine but when I compile it for Android, I got a message blocking dialogs not implemented on this platform.

interface

uses
System.SysUtils, …, FMX.Dialogs, …;



Procedure TformName.buttonCloseIssueClick(Sender: TObject);
var
Val:String;
begin

Val := FMX.Dialogs.InputBox(‘Close Issue’,’Reason:’,”);

if Val <> ” then
begin
//.. my codes
else
ShowMessage(‘Something went wrong’);
Exit;
end;

//.. other codes
end;

How to make popup input, message box and confirmation in Android platform?

Edit: My version is Delphi XE8 Professional with Mobile Add-On Pack

Comments are closed.