My app's requirement is that it should display the Video in Landscape
mode only even when the device's orientation is changed to Portrait
leaving all other controls to be in sync with the device's
orientation. Thats why I am looking for a way to rotate the VideoView
alone.

I am looking for a way to handle the below scenario:
1. Initially the device is in Portrait mode when the 'Play Video"
button is pressed.
2. The video will be fetched and prepared for display.
3. Now, when displaying the first frame, I need to rotate the video
view so that the video gets displayed as in Landscape mode (note that
the device is still in Portrait mode).
4. Once a way for achieving what is required in point 3) above is
available, I can then need not worry on rotating the videoview on
further device orientation changes.

Hope I had clearly explained the scenario.

Thanks,
Darshan

On Jan 7, 10:30 am, Darshan <[email protected]> wrote:
> My app's requirement is that it should display the Video in Landscape
> mode only even when the device's orientation is changed to Portrait
> leaving all other controls to be in sync with the device's
> orientation. Thats why I am looking for a way to rotate the VideoView
> alone.
>
> ---
> Darshan
>
> On Jan 6, 10:06 pm, TreKing <[email protected]> wrote:
>
> > On Thu, Jan 6, 2011 at 8:03 AM, Darshan <[email protected]> wrote:
> > > But, what I want is to display the video in Landscape mode even when the
> > > device is in Portrait mode. All other UI elements (textview, an edittext
> > > field, a 'Play Video' Button etc.,) should be displayed in Portrait.
>
> > Why even bother doing this? If you're not going to rotate the video, then
> > there's no reason for the user to rotate their phone and thus no reason to
> > rotate the controls.
>
> > -------------------------------------------------------------------------------------------------
> > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> > transit tracking app for Android-powered devices

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