摘要: try { InputStream is = getClass().getResourceAsStream("/ringin.wav"); //以输入流的形式获取声音资源 Player p =javax.microedition.media.Manager.createPlayer(is, "audio/x-wav"); //创建Player 对象 p.prefetch(); //声音的预读去 ... 阅读全文
posted @ 2008-12-18 14:08 飘逸的程序员 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2008-12-18 11:56 飘逸的程序员 阅读(423) 评论(0) 推荐(0) 编辑