Android 2.2 cutting off MediaPlayer?

All your problems with Audio, Video and Images.

Android 2.2 cutting off MediaPlayer?

Postby sevenrechlin » Sat May 22, 2010 3:24 am


I am having a weird problem playing with the android 2.2 emulator. For some reason, certain mp3 files refuse to play all the way through, cutting off at around 90% complete. It doesn't happen to all mp3's, and they're all different lengths, so it's not just due to one being too long.

I found the problem with my original application, so I created a test application just using the code below. Trying multiple source APIs (including 2.2), this problem always seems to happen with a large number of my mp3's when run on a 2.2 emulator, but not others. I am hoping this is just a bug with the emulator itself, but it's hard to tell, with the firmware not out on phones yet.

MediaPlayer mp = MediaPlayer.create(this, playMe);

Posts: 3
Joined: Sat May 22, 2010 1:14 am


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 4 guests