I am using the MediaPlayer to play some .mp3 files. The files seem to
play correctly, however, every time I play one I see the following in
LogCat:
07-17 17:30:40.298: VERBOSE/SongPath(294): Songlist/data/data/com.bluepallabs.musicbank/haihai/Oopirage.mp3
07-17 17:30:40.387: WARN/MediaPlayer(294): info/warning (1, 26)
07-17 17:30:40.418: ERROR/PlayerDriver(30): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported
07-17 17:30:40.418: ERROR/MediaPlayer(294): error (1, -4)
07-17 17:30:40.427: WARN/PlayerDriver(30): PVMFInfoErrorHandlingComplete
07-17 17:30:40.518: INFO/MediaPlayer(294): Info (1,26)
07-17 17:30:40.528: ERROR/MediaPlayer(294): Error (1,-4)
As I am playing the above songpath in emulator.I am getting issue please provide any code avaible to solove this issue.
As I am using the code as:
player.reset();
songpath=/data/data/com.bluepallabs.musicbank/haihai/Oopirage.mp3
player.setDataSource(SongPath);
player.prepareAsync();
Thnak in advance.
teja
info/warning(1,26)is just a notification that error handling has started.error(1, -4)is an Error due to the request not being supportedTry making your songpath a String then passing it into the media player like: