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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -