Suppose Myactivity.java
screen orientation is set to landscape in androidManifest file i.e
android:screenOrientation="landscape"
This activity has a openfileMethod with the following code :-
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(uriObj, mimeType);
startActivity(intent);
Now is it there any programmatical way to force the chosen app (i.e app selected for opening file) to start in landscape mode only.
If yes how is it possible ? Please let me know in case any more info is required.