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

