How to open all videos in landscap using following code.?
<p>How to open all videos in landscap using following code.I want all videos will be open in landscap then it will be changed orientation according to rotating of device's orientation from the last position.
                <code>Intent intent=new Intent(Intent.ACTION_VIEW); 
intent.setDataAndType(uri, "video/mp4");
startActivity(intent);</code></p>
