Page 1 of 1

Mobile Support Functions with RapaGUI

Posted: Sat Mar 02, 2019 8:38 pm
by PEB
Now that RapaGUI is available for Android, there are a few mobile support functions that would be handy to have when using a RapaGUI display, such as:
ShowKeyboard(), HideKeyboard(), and ChangeOrientation()

Re: Mobile Support Functions with RapaGUI

Posted: Sun Mar 03, 2019 12:51 pm
by airsoftsoftwair
Hmm, AFAIR ShowKeyboard() and HideKeyboard() should work already. Have you tested them?

For orientation, RapaGUI 2.0 has a new Window.Orientation [ISG] tag which you can set to "Device", "Portrait", or "Landscape". "Device" is the default orientation. This should do the trick...

Re: Mobile Support Functions with RapaGUI

Posted: Mon Mar 04, 2019 2:57 am
by PEB
I just ran some tests, and confirmed that ShowKeyboard() and HideKeyboard() do already work with RapaGUI.

Re: Mobile Support Functions with RapaGUI

Posted: Mon Mar 04, 2019 3:03 am
by PEB
(Window.Orientation also works just as you described.)

Re: Mobile Support Functions with RapaGUI

Posted: Sun Apr 21, 2019 2:32 am
by PEB
Is there a way to detect when the user changes the orientation?

Trygin to catch the OrientationChange through InstallEventHandler() doesn't seem to work with RapaGUI on Android.

Re: Mobile Support Functions with RapaGUI

Posted: Sun Apr 21, 2019 4:11 am
by airsoftsoftwair
Have you tried listening to Window.Orientation?

Re: Mobile Support Functions with RapaGUI

Posted: Sun Apr 21, 2019 5:13 am
by PEB
Just tried it, and it works.
Thanks!
(I really should have thought to try that myself.)

Re: Mobile Support Functions with RapaGUI

Posted: Thu Apr 25, 2019 3:49 am
by airsoftsoftwair
Off topic: Please check your PMs Paul. It's urgent :)