I'm working on a project that needs the orientation to stay in
"portrait" mode but let the user move the phone to the "landscape" position
only when text input is needed.
So, the idea is, the app remains in portrait mode until the user needs to
input some text. We're using LWUIT's TextArea component for this so we
thought there was a possibility to lock LWUIT to portrait and only use
landscape for the native Textbox implementation when it shows up, but we're
finding it difficult to prevent LWUIT from switching orientation.
Our target handsets are Nokia touchscreen devices (S60 5th edition particularly, i.e. 5800, 5230, X6,etc), so the
"Nokia-MIDlet-App-Orientation: portrait" JAD attribute pretty much did the
trick except for the native keyboard not being displayed in landscape
orientation this way - which is exactly what we need to do: 1) show the app
in portrait at all times 2) allow the native keyboard as implemented by
native TextBox implementation to be shown in landscape when text input is
Any ideas are apprecitated!
Thanks in advance