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()
Mobile Support Functions with RapaGUI
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Mobile Support Functions with RapaGUI
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...
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
I just ran some tests, and confirmed that ShowKeyboard() and HideKeyboard() do already work with RapaGUI.
Re: Mobile Support Functions with RapaGUI
(Window.Orientation also works just as you described.)
Re: Mobile Support Functions with RapaGUI
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.
Trygin to catch the OrientationChange through InstallEventHandler() doesn't seem to work with RapaGUI on Android.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Mobile Support Functions with RapaGUI
Have you tried listening to Window.Orientation?
Re: Mobile Support Functions with RapaGUI
Just tried it, and it works.
Thanks!
(I really should have thought to try that myself.)
Thanks!
(I really should have thought to try that myself.)
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Mobile Support Functions with RapaGUI
Off topic: Please check your PMs Paul. It's urgent