Hi, @cp4!
It works partially, because the app is no longer closed, but - and there is always a but! - I still cannot use the "Back" button key as its name intendes, i.e., to go back to a previous form or home page.
I tried the version below, to no avail.
procedure TAndroidModule1.AndroidModule1SpecialKeyDown(Sender: TObject;
keyChar: char; keyCode: integer; keyCodeString: string; var mute: boolean);
begin
if (KeycodeString = 'KEYCODE_BACK') then
begin
mute := True;
AndroidModule1.Show;
end;
end;
Is there a way of making the Back Button working not only to prevent the app closing but also to go back to a certain form or home page?
With warmest regards,