private void onDirectoryDataLoadComplete(IDirectory directoryRoot) { if (directoryRoot == null) { final String message = getString( R.string.err_load_folder_failed, FotoSql.getName(this, this.mGalleryQueryParameter.getDirQueryID())); Toast.makeText(this, message, Toast.LENGTH_LONG).show(); } else { mDirectoryRoot = directoryRoot; if ((mDirGui != null) && (this.mGalleryQueryParameter.mCurrentPath != null)) { mDirGui.defineDirectoryNavigation( directoryRoot, this.mGalleryQueryParameter.getDirQueryID(), this.mGalleryQueryParameter.mCurrentPath); } Global.debugMemory(debugPrefix, "onDirectoryDataLoadComplete"); if ((mDirectoryRoot != null) && (this.mMustShowNavigator)) { openFolderPicker(); } } }