I design the media player to control the position of the video to render the screen and the media controller only Uses the surface view. It supports both landscape / portrait mode. I tested it with the Nexus 4 and it is working fine but HTC is not working on Galaxy and Galaxy.
Some have suggested checking with G-sensor settings. How can any ideas / suggestions be overcome on this issue?
You are overriding the android: configChanges = "KeyboardHide | Orientation + Screen Size"
Which means that you or your app now needs to control the orientation changes.
In this situation you can do this whenever you want to do with your video footage.
Override public null by changing to @config configuration (configuration new config) {super.onConfigurationChanged (newConfig); If (newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) {// landscape} and if (newConfig.orientation == configuration .ORIENTATION_PORTRAIT) {// portrait}}
Comments
Post a Comment