Hallo everybody,
A program of me runs in landscape mode; it invokes that mode with the pachScreen library.
On the PDA the user can start another program while my program is running. This second program changes the orientation to portrait.
If I react on that orientation change in my program, still running in the background, with a reorientation of the screen to landscape I disturb that second program. Some programs could cause a loop if those programs also react on the orientation change.
Of course I could just remenber that orientation change, but I cannot use that 'flag', as I do not know in my program that I am back on the screen.
Am I thinking in circles or is this really a problem?
Harry
A program of me runs in landscape mode; it invokes that mode with the pachScreen library.
On the PDA the user can start another program while my program is running. This second program changes the orientation to portrait.
If I react on that orientation change in my program, still running in the background, with a reorientation of the screen to landscape I disturb that second program. Some programs could cause a loop if those programs also react on the orientation change.
Of course I could just remenber that orientation change, but I cannot use that 'flag', as I do not know in my program that I am back on the screen.
Am I thinking in circles or is this really a problem?
Harry