Discussion Forums  >  Uncategorized

Replies: 0    Views: 278

Niclas
I hate code!
Profile
Posts: 1
Reg: Nov 13, 2011
Stockholm
10
01/25/12 09:38 AM (14 years ago)

Mediaplayer cannot be resolved (1.5)

Hey guys! Trying to get an mp3 playing in my project, but eclipse just tells me that Mediaplayer cannot be resolved and Mediaplayer cannot be resolved as a type. I've addes the following lines to the bt_screen_audio.java file: MediaPlayer mp = MediaPlayer.create(BT_screen_audio.this, R.raw.snart ); mp.start(); } } Any clues? Sincerely, - New guy
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.