I have downloaded the trial version of xe6 and playing with the sample called webbrowser.. I would like to close the app with the back button..
this is what i insert in the sample
procedure TWebBrowserForm.FormKeyUp(Sender: TObject; var Key: Word;
var KeyChar: Char; Shift: TShiftState);
begin
if Key = vkHardwareBack then
begin
SharedActivity.Finish;
end;
This works and close the app..But when i click a link inside the browser and then press the back button the app wouldn't close ..
I also tried this http://www.fmxexpress.com/virtual-keyboard-with-twebbrowser-on-android-in-delphi-xe5-firemonkey/
TWebBrowser.SetFocus(False)), and then pressing Back again. - naXa