(RDMLX) Android back button

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
KazunoriKasahara
Posts: 7
Joined: Tue Feb 04, 2014 3:35 pm

(RDMLX) Android back button

Post by KazunoriKasahara »

Hi,

Our customer uses android device.
They switches form view using the SwitchRequestPROGRAM properties like the demo program LREX0065 and LREX0065A.
They would like to go back to the previous form when touching android back button.
Is there a way to handle android back button?

Thank you in advance.

Kazunori
Attachments
back button.png
back button.png (25.15 KiB) Viewed 2781 times
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: (RDMLX) Android back button

Post by tsupartono »

Yes you can do that by creating a command and use command placement "Back Command".

Note that you would need to handle the back button event in the RDMLX program and perform the switch to the appropriate form view.

Please have a look at the "Command II" example (Programming Examples >> Introductory Examples >> Command II), LREX0088.
KazunoriKasahara
Posts: 7
Joined: Tue Feb 04, 2014 3:35 pm

Re: (RDMLX) Android back button

Post by KazunoriKasahara »

Thank you very much for your reply!
It works!
Post Reply