Add .nomedia file to SDCard so game GFX won't show in Gallery app

This commit is contained in:
pelya
2010-10-07 14:06:25 +03:00
parent 586f659e48
commit fa6efe49f9

View File

@@ -204,7 +204,13 @@ class DataDownloader extends Thread
{
try {
(new File( outFilesDir )).mkdirs();
} catch( SecurityException e ) { };
OutputStream out = new FileOutputStream( getOutFilePath(".nomedia") );
out.flush();
out.close();
}
catch( SecurityException e ) {}
catch( FileNotFoundException e ) {}
catch( IOException e ) {};
}
HttpResponse response = null;