Are you sure that an application can create a new directory in /data?
I know that you can create files/directories in /data/
package.of.your.app/ but I'm not sure if you can create something in /
data. Check permissions by using "adb shell" or by using some method
in File class.

On Dec 16, 7:04 am, shuoshuo <wzshuos...@gmail.com> wrote:
> I use new File("/data/mydir/tmp").mkdirs() to create dir  mydir and
> tmp, but it can not be created, does anyone using File.mkdirs() in
> android.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to