Created
July 22, 2016 10:52
-
-
Save bilbo7833/df05a88a354e6d6e0a9fa05b1d7fa936 to your computer and use it in GitHub Desktop.
Android & Video Blog series - MediaPlayer Listener Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mPlayer.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { | |
public void onPrepared(MediaPlayer mp) { | |
// Start video | |
mPlayer.start(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment