Please see the code i am using for streaming shoutcast stream, it works with one URL but NOT with the other one. This one works: Uri myUri = Uri.parse("http://fr3.ah.fm:9000/"); But not with this ...
I have implemented an Activity that plays media from a URL in android In order to add pause functionality when the incoming call is incoming I created a receiver that sets a a variable when the call ...
I would like to stream my audio/video files to web using servlet. I made an attempt with the following servlet: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ...
I have two different videos which I'm trying to load into a VideoView using videoView.setVideoURI(Uri.parse(url)); The two videos, let them be video 1 and video 2, have the following specs (extrac...
I want to pass the movie url from my dynamically generated button to MediaPlayer: [button addTarget:self action:@selector(buttonPressed:) withObject:[speakers_mp4 objectAtIndex:[indexPath row]] forCo...
about the params Set what to make the player no sound and full sound Thanks
I am writing a media player and i would like to have a progress bar showing the progress of the song. I found the ProgressBar class, but all i can get on the screen is a circular spinning icon. what i...
I'm creating Android application contains 2 buttons, on click on each button play a mp3 file. The problem is when I play button1 it plays sound1, when I click button2 it plays sound2. I check on each...
I'm trying to make a simple mp3 play in the background of my program using the following: Media med = new Media(getClass().getResource("intro.mp3").toExternalForm()); MediaPlayer mPlayer = new MediaP...
This code used to work. Then, maybe I changed something, somewhere (or if I know Android right, an update introduced a bug in the media player). It stopped working on some devices! Especially my Nexus...