07-14-2010 03:02 PM
Solved! Go to Solution.
07-14-2010 05:29 PM
Can't comment on the keyboard appearing and disappearing, but sublayout is called in your Screen, when the Storm detects rotation, so you need to do handle the tilt.
07-14-2010 09:15 PM
Ah ha! Long story short, Display.getHeight() returns the height of the screen, but if the virtual keyboard is displayed, it's height will not be included in the getHeight() value. This was causing problems with my orientation detection code.
The odd display behavior was a result of me being too careful. I put "default" in all of my switch statements during the original non-touch development, so that when I did add different resolutions, it would display a screen that would be small, but not crash. I failed to detect a known resolution, and continued to display portrait mode, but only while the keyboard was visible.