Jump to content

Mobile App - Use Android Back Button for UniGui.dll navigation


erich.wanker

Recommended Posts

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

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...