//Create flickr loader thread
final FlickrMTFotoLoader flickrLoader = new FlickrMTFotoLoader(app, flickrApiKey, flickrSecret, sp, 300);
flickrLoader.setFotoLoadCount(5);
//Define action when loader thread finished
flickrLoader.addProgressFinishedListener(new IMTEventListener(){
public void processMTEvent(MTEvent mtEvent) {
//Add the loaded fotos in the main drawing thread to
//avoid threading problems
registerPreDrawAction(new IPreDrawAction(){
public void processAction() {