Hi,

I am getting an error (1,-1004) when i try to play a .amr file.
The file is about 15 seconds long and after playing for about 4
seconds, it stops and I get this error.

I am making the calls just as mentioned in the docs..
    MediaPlayer mp = new MediaPlayer();
    mp.setDataSource(PATH_TO_FILE);
    mp.prepare();
    mp.start();

Could anyone please help me out here.
Is there any documentation related to Media player errors..

Thanks,
Priyank

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to