You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After compiling the component in Delphi 10.4, make the following changes in the FGX.Helpers.Andorid.pas file.
procedure ShowDialog(ADialog: JDialog; const ADialogID: Integer);
begin
// if IsGingerbreadDevice then
MainActivity.showDialog(ADialogID, ADialog);
// else
ADialog.show;
end;
procedure HideDialog(ADialog: JDialog; const ADialogID: Integer);
begin
// if IsGingerbreadDevice then
//begin
MainActivity.dismissDialog(ADialogID);
MainActivity.removeDialog(ADialogID);
// end
// else
ADialog.dismiss;
end;
If you disable these lines the component will work in Delphi 10.4.
Hi there,
In 2021, I believe that there is no Gingerbread (Android 2.3) device live anymore. So I directly removed condition from showing and hiding functions.
I fixed this in #4 but I didn't test it. Please let me know if it occurs any error. Thanks.
No description provided.
The text was updated successfully, but these errors were encountered: