I'm trying to do something simple but I'm always getting an IllegalArgument
exception:

Context.OpenFileOutput(path, FileCreationMode.WorldReadable)

I want my file to be readable by other apps.  Does anyone have experience
with this?  According to the Java documentation I think I'm doing it
correctly, but Mono for Android documentation seems lacking in this area.

Also is there an easy way to add the WorldReadable flag to an already
existing file?  I am using WebClient.DownloadFile to download files and
would like them to have the WorldReadable flag applied without having to
arbitrarily re-create them.

I'm trying to do all this from my applications personal directory rather
than using an SD card.





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Question-regarding-FileCreationMode-WorldReadable-tp5480914p5480914.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to