DulcetTone wrote:
> I am vexed by the variety of ways various phones can choose or choose
> not to play an MP3 file I have in my app as a raw asset.
> 
> My preferred way to do this:
> MediaPlayer mp = MediaPlayer.create(this, resId);
> 
> returns NULL on HTC Hero, and seemingly some Erises.

Since those are the same device, it's not surprising you'd run into the
same problems.

What does your log show, particularly at warning level, when you call
get null from create()?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.1 Available!

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