Hi,

As Miha suggested, `external` is probably null. Context.GetExternalFilesDir() 
will return null when external storage is mounted by a host computer:

        
http://androidapi.xamarin.com/?link=M:Android.Content.Context.GetExternalFilesDir
        
http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)

        "Returns null if external storage is not currently mounted so it could not 
ensure the path exists; you will need to call this method again when it is 
available."

Thanks - the idea is to be able to write to somewhere with a downloaded file. Is there an alternative to the SDCard that can be used?

Paul
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to