Android MediaPlayer Error (1, -19)

I am working on an application that plays a sound file (boo.wav). The sound, however, is not reproduced and generates some errors.

When trying to execute the following line:

MediaPlayer.create(this, R.raw.boo).start();

I get the following errors:

E/MediaPlayer﹕ Should have subtitle controller already set
E/MediaPlayer﹕ error (1, -19)
E/MediaPlayer﹕ Should have subtitle controller already set
E/MediaPlayer﹕ Error (1,-19)

Can someone point me in a general direction, what am I doing wrong?

+4
source share

All Articles