Page 1 of 1

(RDMLX) Back button on Android - offline

Posted: Wed Mar 23, 2016 7:30 pm
by MegumiSawada
Hi,

The customer uses Android devices.
They would like to detect Back button on Android is tapped and invoke some action.
I found the similar topic which is talking about online form(http://longrange.lansa.com.au/viewtopic ... 406&p=1251).
Is it possible to implement this on offline formview as well?

Best Regards,
Megumi Sawada

Re: (RDMLX) Back button on Android - offline

Posted: Wed Mar 23, 2016 10:45 pm
by tsupartono
Hi Megumi,
The same technique (as described in that post) should work for offline forms.

You can directly link your back button menu item with the target (offline) form, or alternatively you can send a PerformAction operation.
If you are sending a PerformAction operation, your offline form needs to handle the 'OnAction' event (see the documentation page for Form.OnAction).
Generally you would have an ECL script handling the 'OnAction' event (by hooking up the 'OnAction' event with an ExecScript operation).

Re: (RDMLX) Back button on Android - offline

Posted: Thu Mar 24, 2016 1:39 pm
by MegumiSawada
Hi Tony,

Thank you!
I'll check Form.OnAction.

Best Regards,
Megumi