                     runOnUiThread(new Runnable() {                         @Override                         public void run() {                             processPictureWhenReady(picturePath);                         }                     });                 }             }         }     };     