Mobile sound not playing

41 views
Skip to first unread message

Mii Hu

unread,
May 25, 2014, 7:41:29 AM5/25/14
to gwt-v...@googlegroups.com
The sound is playing on my PC but if i try it with my Handy it isnt...


omp.scoreINT%10 == 0){
  SoundController soundController2 = new SoundController();
   final Sound sound2 = soundController2.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
       "Powerup.mp3");
   
   
   sound2.addEventHandler(new SoundHandler() {

@Override
public void onPlaybackComplete(
PlaybackCompleteEvent event) {
// TODO Auto-generated method stub
}

@Override
public void onSoundLoadStateChange(
SoundLoadStateChangeEvent event) {
// TODO Auto-generated method stub
if(event.getLoadState().toString().equals("LOAD_STATE_SUPPORTED_AND_READY")){
}
}
   
   });
Reply all
Reply to author
Forward
0 new messages