I should develop an app which "must" have all "landscape pages" but a damned one in portrait mode.
This "portrait page" should receive messages from a server. If the app were sent to background and without a service, the messages would be lost.
Although I haven't tried it, I think the solution is relatively simple, having TWO "objects" for this functionality: a B4XPages that will always receive all messages and pass them to the Activity, which will display them by reading them from inside its Activity_Resume (too many "them" ?).
This post is both to ask for confirmation that it is a decent solution and to suggest "the" solution in cases like this.
This "portrait page" should receive messages from a server. If the app were sent to background and without a service, the messages would be lost.
Although I haven't tried it, I think the solution is relatively simple, having TWO "objects" for this functionality: a B4XPages that will always receive all messages and pass them to the Activity, which will display them by reading them from inside its Activity_Resume (too many "them" ?).
This post is both to ask for confirmation that it is a decent solution and to suggest "the" solution in cases like this.