Android :: Can Media Player Play .wav Fomat Audio?

Feb 16, 2009

I tried to play a piec of 16-bit .wav audio file, no sound came out from my earphone, but .mp3 file would be OK. Do any one else have this kind of experience? This is the code: player = MediaPlayer.create(this, R.raw.test); // I put test.wav in /res/raw player.start();

Android :: Can Media Player play .wav fomat audio?


Android :: Possible To Use Media Player To Play Streaming Audio?

Mar 21, 2010

The dev guide suggests this
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(this, Uri.parse("http://wamu-1.streamguys.com:80"));
mp.prepare(); mp.start();
I can't seem to get it working though.
I'm getting "java.io.IOException: Prepare failed.: status=0x1"

View 6 Replies View Related

Android :: Getting Streaming Audio To Play With Media Player Class?

Jul 21, 2010

I am currently new to android development I been working on the examples in the Dev Guide in the android website. I want to get a stream from a server I have to play in the emulator when I insert the url it doesn't seam to want to play. My question is there a way to get the emulator to play audio or is it all enabled also does MediaPlayer require a special kind of format like mp3 or ogg? his is the code i am running on my 'onCreate()' method.
MediaPlayer mp - new MediaPlayer();
mp.setDataSource(MY_URL_);
mp.prepare();
mp.start()

View 1 Replies View Related

Media :: Find A Media Player To Play Streaming Videos On Andro?

Sep 1, 2010

Does anyone know where to find a media player that would allow you to play streaming videos on Android Browser?

I want to know if you can play streaming videos on your web browser on your android os phone.

View 1 Replies View Related

Android :: Play Remote Audio File In Android Audio Player

Nov 12, 2010

I am working on a application that would allow users to play remote files. My question is how do I open those remote files to be played in the default android player?but this does not give me control of what is happening!

View 2 Replies View Related

Media :: No Media Player Will Play Music In Order As CD

Jul 7, 2010

I guess no one cares to listen to their favorite music in the order the artist intended? we now listen to timeless classic Opera in whatever order? makes no difference? Classic Rock albums out of order? Pink Floyd "Dark Side of the Moon"?

View 6 Replies View Related

Media :: Media Player Not Play Downloaded MP3 Files?

Oct 23, 2010

My application gets playlist from a XML file, requests URL of mp3 file from server, downloads and plays it. It was able to download mp3 file but unable to play it. When I used emulator with Android 2.1, it was displayed in LogCat:

[Quote]

View 5 Replies View Related

Android :: Media Player Minimizes & Still Playing Audio

Jul 5, 2010

I would like to find an media player that plays videos but when I minimize or multitask to another app I want the videos audio to keep playing like pandora does. The reason for this is bcuz I rip videos off of youtube to mainly listen to the music.

View 2 Replies View Related

HTC Incredible :: Best Audio / Media Player

May 7, 2010

I am looking for a media player - to play all kind of music formats, mp3, wav, etc. Also it would be good to have a player that have a simple search through folders capability to go to navigate to phone's internal memory. The player that comes with Incredible has the capability to search through folders in the internal memory, but I don't think it plays all formats. On the other hand I see that "market" place is full of different players, but all that I downloaded only search on SD card and does not have capability to navigate to internal storage. I know one of the simplest solutions would be to put all music on SD card, but heck we have 8Gb of internal storage why not to use it?

View 4 Replies View Related

Media :: Player That Can Handle Videos With 5.1 Audio

Sep 3, 2010

I really want to know why I can not hear any sound whatsoever simply because the video uses 5.1ch aac instead of 2ch aac. The video part of mp4 plays perfectly, encoded to h.264. I would really like to know if there is any media player able to play these videos correctly without having to resort to any kind of re-encoding (a waste of time when the original encodes should play fine) or having to use special 5.1ch headphones (bulky and not practical to keep on hand all the time). Also, does anyone know if this might be corrected with Froyo 2.2? And last, all my videos that have 2ch audio play as they should, sound and all. Same codec settings were used.

View 7 Replies View Related

HTC Desire :: Don't Put Audio Files In Media Player

Jul 23, 2010

I'm still trying to get to grips with the folder/filing system of the Desire's SD card. I have yet to put any of my own MP3's onto the phone but have put on a few short audio clips which I created at work. These were on the phone mainly so I could transport them home but I also occasionally play them from the phone. However I don't want them cropping up amongst music in the music player app/widget, but it seems no matter where I put them on the SD card they appear. The only exception is if I put them in media => ringtones which isn't ideal. Are there any other places where i can put them where they won't be found by the media player?

View 8 Replies View Related

Android :: Media Player Could Not Play RTSP?

Sep 9, 2009

I create a "mplayer" to play the rtsp on the emulator. When the "mplayer" play the http ,it is ok.
MediaPlayer mplayer = new MediaPlayer();
mplayer.setDataSource("rtsp://test.intra.3g.sina.com.cn/streaming/ 20090313/wenjiabao1.mp4");
mplayer.prepare(); mplayer.start(); but when it play the rtsp, it doesn't work. The Wireshark shows UDP Checksum Incorrect.

View 10 Replies View Related

Media :: Player To Handle MP4 AVC Files With A 5.1 AAC Audio Stream?

Aug 1, 2010

Does anyone know of a player that will handle MP4 AVC files with a 5.1 AAC audio stream? The video plays just fine but none of the players seem capable of "downmixing" to stereo.

I did find one that would play the sound all garbled. I'd hate to have to recode my entire library to stereo to use it on my phone.

View 1 Replies View Related

Android :: Phone Play Video In Media Player From Given URL?

Oct 24, 2009

Can anyone please tell me if Android Media Player is able to play a video that is placed in a remote server, in a supported format?

View 5 Replies View Related

Android :: Media Player - Play Video From Sdcard

Sep 13, 2010

I am new to android.I am trying to play a video from sdcard. this is the sample code I have used..

public class videoa extends Activity {
/** Called when the activity is first created. */
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(R.layout.main);

VideoView videoView = (VideoView)this.findViewById(R.id.videoView);
MediaController mc = new MediaController(this);
videoView.setMediaController(mc);
// (1) Web
//videoView.setVideoURI(Uri.parse(
//"http://www.bogotobogo.com/Video/sample.3gp"));
//"http://www.bogotobogo.com/Video/sample.mp4"));................Please help me out.

View 1 Replies View Related

Android :: Media Player Sluggish To Play Sounds

Mar 31, 2009

I have an Activity that plays a brief OGG "pop" sound effect when bubbles pop. To keep it fast and to ensure I can play several pops, I create four MediaPlayer instances. I synchronize access to a pool of instances, so I can play up to four pops at once. Once a sound completes, I call seekTo(0) and return the MediaPlayer instance to my pool.

Here is a rough sketch of the code:
// when the activity resumes... for (int i=0; i<4; i++) {
MediaPlayer mp = MediaPlayer.create(context, R.raw.pop);
mp.setOnCompletionListener(this);
mp.setVolume(1f, 1f); players.add(mp); // put into a pool of available players }

View 4 Replies View Related

Android :: Media Player To Play AVI And Other File Formats?

Feb 12, 2009

Is there any support for avi and other media formats except mp4 and 3gpp? If there is no support may I develop a support through correct the program? Will that be too difficult ?I don't know where to put my hands into first, should I correct programs in opencore first or should I just correct programs in directory frameworks/base/include/ media . I want to have a clear mind how I can achieve my goal, I need a roadmap to guide me how to do it.

I am trying to get familiar with the SDK 1.0 now. another question, my chip is from freescale and it supports hardware codecs of mpeg4, h.263 and h.264, I don't know whether I can change the program or the architecture of mediaplayer to utilize my hardware codecs instead of software codecs provided by android opencore. I once implement an mplayer to my platform, there is problems about sync of audio and video due to the quality of my chips(CPU can support software codecs but is not fast enough to make sure sync of audio and video), So I am worried about when the android is implemented, there would also be the same problem, and for this reason, I am thinking whether I can utilize my hardware codecs for mediaplayer.

View 3 Replies View Related

Android :: Audio Native Player - Device Automatically Stops Playing Current Media

Aug 21, 2010

Invoked device native player to play audio file, it opens android native player on top of the application but when selecting to back out or return to the application, device automatically stops playing the current media.

Sample code:

Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(file),"audio/*");
startActivity(intent);

How can I implement so that Device should continue to play audio in the background when selecting to back out or return to the application

View 1 Replies View Related

Media :: Audio Book Or Music Player With Variable Speed

Apr 27, 2010

I love my new HTC Desire and the only thing lacking is a music player that plays at variable speed. I listen to a lot of audio books and my old Sansa Clip player gives the option of playing audio at a faster speed (so you can go finish a book faster).The normal android player doesn't seem to have this option. Is there another player that does?

View 4 Replies View Related

Motorola Droid :: Audio - Media Player Starts Playing By Itself

Jan 12, 2010

when I'm listening to audio with my headphones through cherry rplayer and then take the headphones out to use the speaker, I don't get any sound...I have to shut down any audio players functions before I get any sound out of the speaker. Not sure if cherry rplayer is the culprit or not. I have also noticed that my media player starts playing by itself...

View 8 Replies View Related

Android :: Media Player Cant Play From Program Data Folder

Sep 22, 2010

When i record my audio from MIC and store file in /data/data/. why Media Player can't play this file ? If i change destination to / sd card/..... - all works great. I do something wrong ? I not found limitation for Media Player. Device - Samsung T959 (Galaxy S).

View 4 Replies View Related

Android :: No Update Buffering When Media Player Play RTSP?

Sep 13, 2009

Why Update buffering is always 0% when mediaplayer play the rtsp? I try to play this both on the emulator and on the device. But eveytime it shows that the Update buffering is always 0%. Could anyone give me a reason?

At last it always shows the log
E/MediaPlayer( 1455): stop called in state 4
E/MediaPlayer( 1455): error (-38, 0)
E/PlayerDriver( 1088): Command (7) was canceled

View 2 Replies View Related

Android :: Play RTSP Stream Using Media Player Or VideoView

Jul 2, 2010

I wanted to stream A/V from my machine to Android over HTTP
(http://lists.mplayerhq.hu/pipermail/libav-user/2010-July/004944.html).
But that does not seem feasible using FFMpeg. I am planning to try FFMpeg streaming over RTSP. But I am not sure whether MediaPlayer or VideoView classes on Android support RTSP playback. Is playing RTSP stream possible in simple application?

View 3 Replies View Related

Android :: How To Play Media Player With Non-file And Non-rtsp Source

Feb 15, 2010

We've a mpeg4 source that we would like to play in the media player. Our source is not in a file or on an rtsp server. It is hand coded to generate mpeg4 source on the fly. Imagine the data is coming from an unix pipe stream instead of rtsp or a file. How can I use that stream in media player?

View 1 Replies View Related

Media :: Which Player Will Play .mov Files?

Jul 15, 2010

As the headline say:How can I play .mov files on my HTC Desire?

View 3 Replies View Related

General :: Air Play Media Player

Feb 8, 2014

I'm looking for an app or combination of apps where I can find a link to a movie online, stream it on my phone then using air play push it onto my tv. They only released the sony screen mirroring app to a couple of sony xperia phones so I cant use that. I dont want to have to download the movie first either.

View 2 Replies View Related

HTC Desire :: Media Player Not Function Properly (Audio Jack Plugged In)

Jun 19, 2010

When I plug in my audio jack into my desire to listen to music with my speakers, sometimes the media player goes crazy. It skip songs, fast forward, it makes random calls. And all sorts of crazy things. I googled around, looks like quite a number of htc users face this problem too. What are your advice on this?

View 2 Replies View Related

Media :: Player - Converter To Take A DVD And Play It With Menu / All?

Nov 3, 2010

I am interested if there is any programs out there that mimic the DVD player. On a DVD you first start off with a Menu then can decide to either play the movie or see different interviews ect. Is there a player or a converter that allows you to take a DVD and play it with menu and all?

View 3 Replies View Related

Media :: Stock Music Player / Play Ringtones Too?

Sep 6, 2010

I am using the stock music player. Why does it also play the ringtones that I have added to my SD card?

View 2 Replies View Related

HTC Hero :: Media Player To Play .flv Files Without Having To Convert To .mp4 / .3gp?

Apr 18, 2010

Anyone know of a media player that will play .flv files without having to convert to .mp4 or .3gp ?

Seems strange that youtube streams fine, but you can't play the downloaded files in the default media player.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved