Esempio n. 1
0
 /**
  * 下载网络歌曲
  *
  * @param netSong
  */
 public void downloadNetSong(NetSong netSong, String downPageUrl) {
   MusicListLayout.showMsg(getConfigMap().get("loading.song.down.address.msg").toString());
   SongUrlHtmlParse htmlParse =
       new SongUrlHtmlParse(netSong, SongUrlHtmlParse.FLAG_DOWNLOAD, downPageUrl);
   Thread mThread = new Thread(htmlParse);
   mThread.start();
 }
Esempio n. 2
0
 /**
  * 试听网络歌曲
  *
  * @param netSong
  */
 public void playNetSong(NetSong netSong, String downPageUrl) {
   MusicListLayout.showMsg(getConfigMap().get("loading.song.msg").toString());
   SongUrlHtmlParse htmlParse =
       new SongUrlHtmlParse(netSong, SongUrlHtmlParse.FLAG_LISTENING, downPageUrl);
   Thread mThread = new Thread(htmlParse);
   mThread.start();
 }