Ok, sorry for posting before I read the link - the DPAD does adjust as you'd expect and it is explained further at the page Anna pointed to..
On Sep 11, 10:21 pm, Carl Whalley <[email protected]> wrote: > Small point raised in my original post: if you do as you suggest and > keep the app in portrait mode when the keyboard is opened, assuming > the user turns the handset so they are holding it in portrait mode is > the DPAD to the lower right or upper left of the screen? Also, > thinking about this further, is the UP/DOWN of the DPAD itself > adjusted to reflect this? > > -- > Android Academy:http://www.androidacademy.com > > On Sep 11, 7:35 pm, "[email protected]" > > > > <[email protected]> wrote: > > As Dianne stated, it works very much like the G1. The short answer is > > that there are still only two modes: portrait and landscape. The > > DPAD, or 5-way navigation, on the keyboard is only available when you > > open the keyboard. By default this automatically rotates the display > > to landscape. You can override this and keep your application in > > portrait mode by specifying android:screenOrientation="portrait" in > > your manifest. There is an article on coding for 5-way on our MOTODev > > Android Technical Library (http://developer.motorola.com/docstools/ > > library/Navigating_Around_Your_Application/) that may answer your > > question in more detail. > > > On Sep 11, 10:02 am, Dianne Hackborn <[email protected]> wrote: > > > > I am pretty sure it is basically like the G1, except you can only access > > > the > > > DPAD when the screen is open instead of it being on the front. So opening > > > the screen would rotate it unless an application has explicitly forced an > > > orientation, and the platform should rotate the DPAD key events for you > > > based on the current orientation like it does for the trackball on other > > > devices. > > > > On Fri, Sep 11, 2009 at 12:57 AM, Carl Whalley > > > <[email protected]>wrote: > > > > > Anything around? > > > > In particular, exactly what do those buttons do and are we to assume > > > > to use the DPAD in portrait mode the phone is turned 180 from what > > > > you'd expect "normal" portrait mode to be (see the pic, you'll see > > > > what I mean:http://ota.cc/az). I'm just guessing here but as a > > > > developer would like to know how to handle this. > > > > Do we need to code for a new orientation: keyboard closed portrait, > > > > keyboard open portrait and landscape? > > > > > -- > > > > Android Academy:http://www.androidacademy.com > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support, and so won't reply to such e-mails. All such > > > questions should be posted on public forums, where I and others can see > > > and > > > answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

