1
안녕하세요, 어느 누구도 J2ME의 루프에서 mp3 파일 목록을 재생하는 방법을 알고 계십니까? u는 경우 ... 코드를 공유하시기 바랍니다J2ME Mp3 플레이어 - 루프에서 mp3 파일 재생
안녕하세요, 어느 누구도 J2ME의 루프에서 mp3 파일 목록을 재생하는 방법을 알고 계십니까? u는 경우 ... 코드를 공유하시기 바랍니다J2ME Mp3 플레이어 - 루프에서 mp3 파일 재생
Player p;
InputStream is = getClass().getResourceAsStream(SoundName[sound]);
try {
p = Manager.createPlayer(is, "audio/X-wav");
p.start();
is.close();
is = null;
} catch (IOException ex) {
ex.printStackTrace();
} catch (MediaException ex) {
ex.printStackTrace();
}
p.setLoopCount(100);//using this you can play the sound in loop