Android: How To Start Video Activity On Portrait Mode
I am trying to play video from url using the following code: Intent intent= new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(movieurl), 'video/*'); startActivity(int
Solution 1:
That functionality is provided by the videoplayer. The videoplayer has been set to show video in landscape mode..U can use videoview and mediacontroller to create your own media player.
Post a Comment for "Android: How To Start Video Activity On Portrait Mode"