Skip to content

Commit

Permalink
Add .nomedia file to SDCard so game GFX won't show in Gallery app
Browse files Browse the repository at this point in the history
  • Loading branch information
pelya committed Oct 7, 2010
1 parent 586f659 commit fa6efe4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/src/DataDownloader.java
Expand Up @@ -204,7 +204,13 @@ public boolean DownloadDataFile(final String DataDownloadUrl, final String Downl
{
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;
Expand Down

0 comments on commit fa6efe4

Please sign in to comment.