How To Use Your Own Created Jar File In Another Android Application
I created my own jar file using eclipse. Now i am trying to make an android JAR file and then will use the same JAR file in others android apps. Now though, my application is compl
Solution 1:
You should be able to access any publicly exposed methods from your .jar by importing the .jar into your project, then adding
import myjar.myclass;
You can then reference any methods from the class you import.
Hope this helps!
Solution 2:
- Add the jar to you build path
- Right click project
- Click "Properties" -> "Java Build Path" -> "Libraries"
- Click "Add External Jar"
Import classes like normal
import com.my.package.here.MyClass;
Post a Comment for "How To Use Your Own Created Jar File In Another Android Application"