Monday, 12 December 2011

How to Create Folder Programmatically into Sdcard in Emulator in Android?

Write Following Line into your Oncreate Method:-

File wallpaperDirectory = new File("/sdcard/Wallpaper");
Add below Uses-Permission into your AndroidManifest.xml File:-
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Now Run Your Project the Wallpaper Folder is Created in Your Sdcard.

Enjoy :-)

Don’t forget to provide feedback or follow this blog, if you find this blog is useful.


  1. Post is helpful for me. Thank you for this tutorial.........

  2. Pearlet is the learning application of day trading at Forex for beginners.Using an attractive easy layout and strategy, the application allows player to learn the basics of the FOREX trading and increase the odds of winning.
    Forex game simulator