Hi,
Android programs executed in ATE have to use one of terminal
or stdout GTs. By defualt it's GTTRM but it can be also
GTCRS, GTSLN, GTSTD and GTCGI.
GTSLN and GTCRS needs external libraries which user should
install in his env so it's not the best choice for beginners.
In fact they do not give any new functionality in comparision
to GTTRM so there is no reason to use them.
ATE does not support remote terminal window resizing so
SETMODE() will not work. When you change screen orientation
or font size the terminal window is resized and information
about it sent to the application which puts HB_K_RESIZE to
keyboard input queue. It means that it works like GTWVT with:
hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS )
so applications shoud be ready for dynamically changed screen
dimensions. In general it's good practice to write such programs.
If you cannot make it now then as simple workaround you can at
the begining of your code:
WOpen(0,0,maxRow(.t.),maxCol(.t.))
to open virtual window which will protect your screen contents
when terminal is resized.
When we will have our own dedicated for Android GT then we
can try to implement automatic font resizing and add scrolls
if it's not possible to set some font size.
Such functionality should have GTQTC for Android. So far I
haven't tried to compile it and create stand alone Android
application (.apk).
To create .apk we nead native GT. GTQTC can be such GT but
we can also create new one in pure JAVA.
best regards,
Przemek