I'm seeing the same problem on the ARCHOS 5 tablet.
The app works everywhere else. Do you use SoundPool in parallel to
MediaPlayer?

On Tue, Oct 20, 2009 at 10:49 PM, Marco Nelissen <[email protected]>wrote:

>
> There seems to be a problem with some Hero builds (but not all of
> them) that causes playback from resources to not work quite right.
>
>
> On Tue, Oct 20, 2009 at 12:29 PM, Chister Nordvik <[email protected]>
> wrote:
> >
> > Hi!
> >
> > I have a background service that plays a sound when an event has
> > happened with the following code:
> >
> > 1. MediaPlayer mp = MediaPlayer.create(getBaseContext(),
> > R.raw.theEnd);
> > 2. mp.start();
> >
> > But sometimes I see from my errorlogs that people are getting a
> > nullpointer on line nr 2 here. My music file is a MP3 file and works
> > great on my G1. The comments on my app says "Doesn't work on Hero
> > after update" but I am unsure if this is specific to the Hero since I
> > don't have that information in my errorlogs. The app has > 50000
> > downloads so this code works for most of the people out there, but do
> > anyone know why it doesn't work for all of them?
> >
> > -Christer
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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