On Thursday, March 15, 2012 12:07:30 PM UTC-4, Ted S. wrote:
>
> > mkdirs("app/dir") fails; mkdirs("app") followed by mkdirs("app/dir")
> > works. This is extremely unusual.
>
> That's pretty much standard *nix behavior, Android being a modified
> linix kernal it's what I would expect.
>
If you were dealing with the raw operating system, yes. But the java
method being used is mkdirs() rather than mkdir(), and the docs say it is
supposed to create missing parents, somewhat like 'mkdir -p' would.
mkdir()
Creates the directory named by this abstract pathname.
mkdirs()
Creates the directory named by this abstract pathname, including
any necessary but nonexistent parent directories.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en