The only resource configuration is portrait vs. landscape.  There is nothing
exposed to apps about being rotated one way or the other; my first instinct
is that this is not something that would make sense at to expose in the SDK
because I don't see how it can be generally meaningful.

On Thu, Apr 23, 2009 at 12:01 PM, devi prasad <[email protected]> wrote:

>
> Well, I read on the Android blog the most recent post saying:
> -------
> Technique to Avoid, #5: Incautious Rotations
> ...
> Devices running Android 1.5 and later can automatically rotate the
> screen, depending on how the user orients the device. Some 1.5 devices
> will do this by default, and on all others it can be turned on by the
> user....
> ---------
> does the orientation simply refer to portrait and landscape modes? Or
> are they the things that I've been seeking clarifications?
>
> thanks
>
>
> On Thu, Apr 23, 2009 at 5:11 PM, devi prasad <[email protected]> wrote:
> > hi
> > [I moved this question from the android-developer list, hoping for a
> response]
> >
> > We are porting Android to a new device (which is, of course, not a
> phone).
> > We want to provide different user experience depending on the
> > rotations of the device,
> > and such factors. Someone told me that Cupcake can differentiate
> > between different kinds of flips
> > and rotations of the device. Is it so?
> >
> > Does Cupcake distinguish the clockwise and anti-clockwise rotations?
> > Is it able to set UI layouts according to the direction of rotation?
> >
> > Is this a dumb question, after all? :)
> >
> > Also, what happens when the device is flipped upside down? Does
> > cupcake deal with it at all?
> >
> > thanks
> >
>
> >
>


-- 
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.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to