Figured it out. Apparently, even though you are allowed to getFilesDir(), you aren't allowed to actually specify that directory in a path. The file name you pass to openFileOutput() must be a relative path to that directory, and may not specify that directory. Intuitively obvious that isn't.
On Wed, Jan 12, 2011 at 2:04 PM, John Lussmyer <johnlussm...@gmail.com>wrote: > I'm trying to create a new file in my data area, and I'm getting this > exception: > > 01-12 13:59:41.202: ERROR/AndroidRuntime(1437): > java.lang.IllegalArgumentException: File > /data/data/com.casadelgato.lifewallpaper/files/LifeSettings.ini contains a > path separator > > As far as I can tell, that's a valid file spec. > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en