MediaPlayer class can be used to control playback of audio/video files and streams in Android devices
I'm streaming an mp3 file using MediaPlayer mp.setDataSource(myContext, Uri.parse("http://my_song.mp3")); mp.prepareAsync(); mp.setOnPreparedListener(…
java android android-mediaplayer id3I'm trying to retrieve the metadata from a video file (title, language, artist) using the method MediaStore.Video.query(). However, …
android video media android-mediaplayer mediastoreI have a MediaPlayer object which plays a local audio file. I am using a TimerTask to update the position …
java android android-mediaplayer timertaskIn the Android docs, there is a constant defined MEDIA_ERROR_SERVER_DIED which is described as: Media server died. …
android error-handling android-mediaplayerI have a recyclerview with mediaplayer to play a song on each row. I only have one button for play/…
android android-mediaplayer android-recyclerview android-viewholderI'm recently faced with some problems of streaming AAC+ radio streams with the Android MediaPlayer. Regarding to the documentation, there …
android streaming android-mediaplayeri am working on a project where i should play .srt files along with video in android. I was working …
java android android-mediaplayer exoplayerI use a CursorLoader in a LoaderManager with a Custom CursorAdapter. I've already achieved to display the Album and the …
android android-imageview android-mediaplayer albumart android-cursorloaderI wanted to implement basic media player functionality and was confused between PrepareAsync() and Prepare() method calls. Which one should …
android android-mediaplayerI'm getting the following error java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA and I'd like to know what this status …
android android-mediaplayer android-music-player