Top "Android-mediaplayer" questions

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

How to get the frame from video file in android

The MediaMetadataRetriever.getFrameAtTime() always returns same frames when ever call. Have a look my code private ArrayList<Bitmap> …

android android-mediaplayer
Android: How to integrate a decoder to multimedia framework

Recently i have ported a video decoder to android successfully. Also dumped the output on a surfaceview and checked the …

android android-ndk android-mediaplayer android-framework stagefright
(Android MediaPlayer) How am I supposed to call setAudioStreamType() if MediaPlayer.create() implicitly calls prepare()?

I am writing an Android alarm application that uses a Service in order to play the alarm tone. Currently, I …

android android-mediaplayer
changing a track media player android

I am currently playing a song using MediaPlayer which plays fine. On user selecting a different song, I'm trying to …

android android-mediaplayer mediaplayback
Cannot get android MediaPlayer onCompletion to fire

I'm trying to use the android MediaPlayer class to play some sounds. Here's the code MediaPlayer mp = new MediaPlayer(); mp.…

android android-mediaplayer
"The surface has been released" inside "surfaceCreated"

I know this is a common question, however this stack trace shows something else is wrong. You can see that …

android android-mediaplayer surfaceholder
Android : how to know if MediaPlayer is paused?

MediaPlayer.isPlaying() does not allow to know if the MediaPlayer is stopped or paused. How to know if it is …

java android stream media-player android-mediaplayer
Media Session Compat not showing Lockscreen controls on Pre-Lollipop

I'm using MediaSessionCompat from AppCompat Support Library Revision 22. And on Lollipop I'm getting notification & also the background of lockscreen …

android android-mediaplayer android-5.0-lollipop lockscreen
Android SDK: Media Player - Load video stream from HTTP url

I have a MediaPlayerActivity with the following code: This code basically tries to get a video stream from a http …

android android-mediaplayer android-video-player
Android: QCMediaPlayer could not be located

i have a problem with the mediaplayer since i updatet my android -version to 5.0.2 on my lg-smartphone. i have a …

android android-mediaplayer