Top "Android-mediaplayer" questions

MediaPlayer class can be used to control playback of audio/video files and streams in Android devices

Android MediaPlayer - setDataSource and Release - IllegalStateException

I wrote my own MediaPlayer class to play files at a specific path and to play files from the assets …

android android-mediaplayer
Playing video using textureview in recyclerview

I am trying to implement a list with videos like vine or Instagram app. Where they play video plays when …

android android-listview android-mediaplayer android-recyclerview android-textureview
java.io.IOException: setDataSource failed when play recorded mp4

I want to play recorded mp4 data using Android Media Player,but when try to play this error showed : java.…

android android-mediaplayer mpeg-4
Get mp3 duration in android

How to get mp3 track duration without creating MediaPlayer instance? I just need to show mp3 song length in mp3 …

android android-mediaplayer java
Record/capture internal sound playback of Android app and export mp3?

Is it possible to record the internal sound generated by the app? My app allows you to create and play …

android audio android-mediaplayer audio-recording soundpool
How to manage MediaPlayer.setVolume() + SeekBar to set it + device volume control

As recommended by the doc, I'd like to use the setvolume() method to control the volume of my MediaPlayer, but …

android android-mediaplayer seekbar
How should i do from notification back to activity without new intent

from Android Development, i implement a simple notification by the sample code, but in my app, i don't want to …

android android-intent notifications android-mediaplayer
Android mediaPlayer - is there an "isPrepared()" or "getStatus()" method?

I'm having issues with Android's MediaPlayer. It seems like it's missing important functionality, mainly a way to get the current …

android android-mediaplayer
Getting access to media player cache

I want to move a progressively streamed mp3 file to sd card once it is completely loaded. Is there any …

android android-mediaplayer
Play list of mp3 file with MediaPlayer in Android

I have a problem to reproduce more than one mp3 file using MediaPlayer in Android. I'm able to reproduce one …

java android android-mediaplayer playlist