How can I get relative path of the folders in my project? (java)

Posted by masterkapu on Stack Overflow See other posts from Stack Overflow or by masterkapu
Published on 2010-04-23T11:08:16Z Indexed on 2010/04/23 11:13 UTC
Read the original article Hit count: 156

Filed under:

How can I get the relative path of the folders in my project (using code)?

I created new folder in my project and I want its relative path so no matter where is the app the path will be correct.

Maybe this can be useful: I trying to do it not inside any function just inside the class and I want to init with it a final variable. the app is android and the class is "extends Activity"

thanks

© Stack Overflow or respective owner

Related posts about java