I have a little issue with creating a directory and saving a file to it on my android application. I\'m using this piece of code to do this :
String filename
Make sure your app has the proper permissions to be allowed to write to external storage: http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE
It should look something like this in your manifest file: