Monday 31 March 2014

Video view rotation.

http://blog.lemberg.co.uk/surface-view-playing-video

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <TextureView
        android:id="@+id/playback_video"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_centerInParent="true"
        android:rotation="90" />
</RelativeLayout>

Online Apk to source code converter.

Wednesday 12 March 2014

Video Play continuously when Orientation change

https://github.com/gradha/Android-video-stream-rotation