I cannot find any documentation on error codes with regard to Android. I am putting together an app that seemed to be working on a lower level API setup but not on a higher one. The error occurs when trying to play an audio file and like I said it all worked in a lower version.
The error code I see is in the log are:
MediaPlayer info/warning (1, 32)
MediaPlayer Info (1,32)
MediaPlayer info/warning (1,26)
MediaPlayer Info (1,26)
MediaPlayer error(351, -4)
MediaPlayer Error(351,-4)
VideoView Error(351,-4)
So can someone please explain how this works in detail?
I know I have an error in MediaPlayer
and possibly VideoView
as per the data above but what do the numbers represent? I assume it is a particular error but which one?
I can not seem to find anything on this and how this is decoded. Where can I find documentation on how to find out what this means that is the main question.
If I can get an answer for this particular error code even better, but again the actual documentation source so I may be able to look up additional codes myself would be of great benefit also.
Here is the exact logfile as exported by Eclipse:
07-04 12:22:48.298: V/key =(6969): http://xxxxxx/glennharrold/audio/normal/relaxsleepwellfull.mp3
07-04 12:22:48.388: D/MediaPlayer(6969): Couldn't open file on client side, trying server side
07-04 12:22:48.388: D/SprintMM(6969): Proxy will be bypassed because of WIFI connection.
07-04 12:22:48.508: W/MediaPlayer(6969): info/warning (1, 32)
07-04 12:22:48.508: I/MediaPlayer(6969): Info (1,32)
07-04 12:22:48.508: W/MediaPlayer(6969): info/warning (1, 26)
07-04 12:22:48.508: I/MediaPlayer(6969): Info (1,26)
07-04 12:22:48.508: E/MediaPlayer(6969): error (351, -4)
07-04 12:22:48.508: E/MediaPlayer(6969): Error (351,-4)
07-04 12:22:48.508: D/VideoView(6969): Error: 351,-4
Now what is unclear is exactly what means what I can see that it may have something to do with the file not being found on the client side but this exact same code works on a lower API version I copied working code to this App to make a new one.
The only thing I see in this that I did not see in my logcat in Eclipse is the (6969)
and the D/
, E/
, W/
, I/
in front of MediaPlayer text
don't know what this extra stuff means and it only appears when I export the code to a text file.