I was just wondering, how can I create Android/data folder for my application, for example, Android/data/Myapp in removable external sd card, because I was reading, that google now doesn't allow apps to write files on external sd card, except for app specific folders.
Asked
Active
Viewed 762 times
0
-
please be more specific to your problem – SweetWisher ツ Oct 01 '14 at 06:32
-
I want to save some files on external sd card in my app specific folder, but at first I need to create them. How can i Do that? – user2086174 Oct 01 '14 at 06:34
-
Did you google [how to create folder in external sdcard](http://stackoverflow.com/a/2131051/2591002) ??? – SweetWisher ツ Oct 01 '14 at 06:37
-
Yes, but i need to know how to do that on KitKat, because it's not allowing me to create a folder. – user2086174 Oct 01 '14 at 06:39
-
2please try [this](http://stackoverflow.com/a/26055638/2591002) – SweetWisher ツ Oct 01 '14 at 06:42
-
File dir = context.getExternalFilesDir(null); this line made both directories on internal an external sd card, thanks! – user2086174 Oct 01 '14 at 07:08
-
glad it worked for you.. :) – SweetWisher ツ Oct 01 '14 at 07:14