Created
June 26, 2010 08:40
-
-
Save reflog/453908 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final String dir = System.getProperty("fileconn.dir.memorycard")+ "BlackBerry/SubFolder/"; | |
public final static void createDir(String dir) { | |
FileConnection fconn; | |
try { | |
fconn = (FileConnection) Connector.open(dir, | |
Connector.READ_WRITE); | |
if (!fconn.exists()) | |
fconn.mkdir(); | |
fconn.close(); | |
} catch (Exception e) { | |
Utils.log("Error: " + e.getClass() + " " | |
+ e.getMessage()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment