I want to create recursive
directories ( for example : Connector.open("file:///Phone:/folder_1/folder_2/", Connector.READ_WRITE);
). The problem is that the two folders
, here folder_1 and folder_2, are not mentioned explicitly but instead there is only one String parameter provided from a method. For example :
private void myMethod(String path)
{
fcDir = (FileConnection) Connector.open("file:///Phone:/"+path+"/", Connector.READ_WRITE);
...
}
And in runtime the two folders are not created ! So I must create separately two FileConnection
in order to create the two folders ! So why J2ME is not able to make a recursive
directory creation ?