Android Question [SOLVED] B4XPages in landscape but...

LucaMs

Expert
Licensed User
Longtime User
B4XPages project. I have some landscape pages but I need to add a chat. In addition to being ugly, in landscape, the keyboard and especially the "system input View" would cover the entire screen.

Using an additional Activity, for chat only, would be a big problem, because Main would not be active and would not receive data from my server.

The only complicated solution that comes to mind is to create a personal keypad (but it would not be easy to insert emojis) and the user would not like it.

Big issue!
 

LucaMs

Expert
Licensed User
Longtime User
Using an additional Activity, for chat only, would be a big problem, because Main would not be active and would not receive data from my server.
Don't use an additional Activity, chat in a B4XPage and "move" the websocket to it?
Maybe yes but the ugliness of a chat in landscape and the problems of the input view that covers everything remain.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Thanks, Erel.

I was convinced (?) that starting an Activity the current one was no longer active (in my case, the Main with B4XMainPage, which could no longer receive data from my server).

Doing a test, after you have denied this belief of mine, I have seen that actually despite having the second Activity in foreground, B4XMainPage and therefore the Main, continues to be active.

I noticed this log:
1637675941308.png


(activity is not paused)

is this relatively recent? Thanks to B4XPages? Or have I, now very old ?? , forgotten everything and had it always been so?
 
Upvote 0
Top