You can certainly have a user preference that lets them select between
sensor, nosensor, portrait, landscape, and set that in the activity when it
starts with the API on Activity.

On Sat, Apr 25, 2009 at 11:15 AM, andrew <[email protected]> wrote:

>
> Thanks for your quick response.  My app is kind of specialized and I
> think users might want it to respond differently to orientation
> changes than the default (I get a lot of requests for that, hence the
> android:screenOrientation="sensor" ).  Is there any other approach I
> can take that would essentially change the value of the
> screenOrientation at runtime?  I think I have seen apps where the user
> selects how to respond to orientation changes.
>
>
> On Apr 25, 12:30 pm, Dianne Hackborn <[email protected]> wrote:
> > I would suggest not doing anything special and letting users select what
> > they want in the global pref that is in 1.5.
> >
> > On Fri, Apr 24, 2009 at 7:21 PM, andrew <[email protected]> wrote:
> >
> > > Hi,
> > > Is it possible to have a user choose how an app should respond to
> > > orientation changes?  I have it set to
> > > android:screenOrientation="sensor" in the manifest but I would like
> > > users to be able to turn this on and off or set landscape or portrait
> > > orientation permanently.
> >
> > > Thanks,
> > > Andrew
> >
> > --
> > 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.
> >
>


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

Reply via email to