Top "Android-mediaplayer" questions

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

Media Player Looping : Android

I am having 3 secs of mp3 file. I want to play that mp3 file continuously still the user click pause …

android android-mediaplayer
Streaming Youtube Videos

I am writing an application to play youtube videos using streaming. First method: I am getting the RTSP URL to …

android youtube streaming android-mediaplayer android-videoview
How do I get the current volume/amplitude in a MediaPlayer?

I'm working on an app that will both record an audio file, and then have the option to play back …

android android-mediaplayer
IllegalStateException for MediaPlayer.prepareAsync

05-19 11:52:51.622: ERROR/MediaPlayer(1291): prepareAsync called in state 8 05-19 11:52:51.622: WARN/System.err(1291): java.lang.IllegalStateException try { mp = MediaPlayer.create( Main.this, …

android android-mediaplayer
Android SDK - Media Player Video from URL

I've tried to find a simple tutorial which explains how to load a video from a URL into the android …

android android-mediaplayer android-video-player
What is the difference between MediaPlayer and VideoView in Android

I was wondering if there's a difference between them when it comes to streaming videos. I know VideoView can be …

android streaming android-mediaplayer android-videoview
Music player control in notification

how to set notification with play/pause, next and previous button in android.! I am new with Android & also …

android android-mediaplayer android-notifications android-broadcast
Why MediaPlayer throws NOT present error when creating instance of it?

When creating an instance of MediaPlayer LogCat shows this error: QCMediaPlayer mediaplayer NOT present Why is that and is it …

android adt android-mediaplayer logcat
Setting data source to an raw ID in MediaPlayer

In MediaPlayer.create method an id to a Raw file can be used but how to use that in setDataSource …

android android-mediaplayer
MediaPlayer error (1, -1004) aka MEDIA_ERROR_IO trying to stream music on Samsung S3

NOTE: I'm not working at the company where I worked when I posted this question, therefore, even though some great …

android streaming android-mediaplayer samsung-mobile