0

I am eager to know that is it possible to get details of jars present in an Android project programmatically. I have searched on Google, but couldn't find any blog or information related to this. Is this possible?

Ben Pearson
  • 7,532
  • 4
  • 30
  • 50
Sourabh s
  • 206
  • 1
  • 7

1 Answers1

0

If you're looking specifically to see if a class is accessible, you could check directly to see if the class exists. Refer to this post

If you're looking more for a list, this post might help you.

Community
  • 1
  • 1
Ben Pearson
  • 7,532
  • 4
  • 30
  • 50
  • actually i want to know the jar details and list of jars present in project , is this possible ? – Sourabh s Feb 11 '14 at 10:58
  • do you specifically want to do it in Java from within the project, or would you like to just see a list so you can, for example, identify orphaned JARs? If the latter, http://classpathhelper.sourceforge.net/ would work. – Ben Pearson Feb 11 '14 at 11:03
  • yes exactly .... i want to know list of used and orphaned JARs...ok try your link – Sourabh s Feb 11 '14 at 11:09