摘要:
try { InputStream is = getClass().getResourceAsStream("/ringin.wav"); //以输入流的形式获取声音资源 Player p =javax.microedition.media.Manager.createPlayer(is, "audio/x-wav"); //创建Player 对象 p.prefetch(); //声音的预读去 ... 阅读全文
摘要:
import java.io.DataInputStream;import java.io.IOException;import java.util.Vector;import javax.microedition.io.Connector;import javax.microedition.io.HttpConnection;import javax.microedition.lcdui.Can... 阅读全文