コード例 #1
0
 public boolean ShowCurList() {
   String str = ReadVodVideoItemXML();
   if (str != null) {
     mMovieParse = new VodVideoMoveParse(str);
     if (mMovieParse != null) {
       mMovieParse.parseDataStr();
       // mMovieParse.downloadMoviePic();
       setListAdapter(new VodVideoAdapter());
     } else {
       return false;
     }
   } else {
     return false;
   }
   return true;
 }
コード例 #2
0
 public void handleMessage(Message msg) {
   switch (msg.what) {
     case GET_VOD_VIDEO_XML:
       {
         String str = (String) msg.obj;
         if (str != null && str.length() > 0) {
           WriteVodVideoItemXML(str);
           mMovieParse = new VodVideoMoveParse(str);
           mMovieParse.parseDataStr();
           setListAdapter(new VodVideoAdapter());
         }
         break;
       }
     case 2:
       break;
   }
 }