how can we fetch active video url running in a Media Player in android studio

  android-mediaplayer, android-studio, share, url, video

I used a view pager in xml of main activity and item container xml have all the details of the view pager. I used Media player to play the video but I want to make a share button in this such that the user can share the video which is running at that moment . I have made a Array List in which I have stored various URLS . I want to fetch the URL which is active at that moment such that I can share it

Source: Android Studio Questions

LEAVE A COMMENT