media player - Samsung Galaxy S kill my android app on music play -


i have written app plays background music mediaplayer. testing app , works on htc desire perfectly, when try test on samsung galaxy s dies nullpointer exception on following part:

mp_bg_music.play(); 

yes, had used mediaplayer.create , said work on htc desire! idea why samsung galaxy s fail run same program htc desire? there additional things should aware of before try play music? need grant more uses-permission app?

the solution change aac mp3


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -