erich.wanker Posted May 16, 2019 Share Posted May 16, 2019 Hello :-) Question: How can i send Ajax-Events to unigui-dll with Delphi-Android app (handle the "android back button") Basic: Make a Delphi mobile project - add a webbrowser component to it and set the url to your unigui web app - install apk on android .... should work ;-) Now i want to click "android back button" to navigate in the unigui app My Thinking is: if the Andoid app handels the "android back button" and sends AjaxEvents to the opend dll - i could handle the action with "procedure TMainForm.UniFormAjaxEvent" if EventName = 'Andoid_back_Button_clicked' then begin if open_form_name = 'Customer_form' then Customer_form.close; if open_form_name = 'Main_Form' then Login_form.showmodal; ...and so on So the user can use the standard Back Button of andoid in UNIGUI !!!!! Has someone made something or has a idea how to communicate between AndoidApp and UniGui.dll ThanX for Infos Erich Quote Link to comment Share on other sites More sharing options...
PauloAgape Posted August 12, 2019 Share Posted August 12, 2019 Bom dia. Gostaria de saber se alguem tem algum exemplo, de como desativar o botao voltar (fisico) android. Em uma aplicacao unigui mobile. Obrigado. Quote Link to comment Share on other sites More sharing options...
Leonardo Otaviani Posted October 26, 2019 Share Posted October 26, 2019 kara... seria otimo... peguei um tutorial.. porem nao funcionou : Ext.onReady(function() { window.location.hash = "main"; window.location.hash = "again_main"; // again for chrome window.onhashchange = function() { window.location.hash = "main"; } }) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.