Пример #1
0
 @Override
 public void done() {
   if (mResetToWaiting) {
     mModel.clearData(true);
     mModel.setStatusText("Waiting");
     mModel.clearGreetAndName();
     mModel.notifyObservers();
     mModel.clearData(false);
   }
 }
Пример #2
0
 @Override
 protected Boolean doInBackground() throws Exception {
   WavPlayer player = new WavPlayer();
   File f = new File(mModel.getPreferences().getFileLocation() + mFilePath);
   player.play(f);
   return true;
 }