Blackberry java valid directories -
is there way in blackberry java (5.0 , later) getting the valid directories? instance, home directory "file:///store/home/user/", there method gethomedirectory() , return path?
if none, hard-coded path can applied version of blackberry java?
thanks in advance!
you can using system properties:
the system class maintains properties object describes configuration of current working environment. system properties include information current user, current version of java runtime, , character used separate components of file path name.
system.out.println(system.getproperty("user.home"));
Comments
Post a Comment