Thursday, June 30, 2011

[android-developers] Samsung Galaxy S kill my app

Hello Boys and Girls!

 I had wrote an app which plays the backgournd music with MediaPlayer. I had tested the app, and it is works on Htc Desire perfectly, but when I try to test it on Samsung Galaxy S it dies with nullpointer exception on the following part: 

mp_bg_music.play();

Yes, I had used the Mediaplayer.create and as I said it work on Htc Desire! Any idea why not would my Samsung Galaxy S run the same program as HTC Desire ? Are there any additional thing what I should do before try to play the music ? Need more ueses-permission to app ? 

 Thank you so much: Károly from Hungary

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate