I saw an article about including additional javax.* packages in your Android App http://code.google.com/p/dalvik/wiki/JavaxPackages.
I wanted to do the same thing, but using Eclipse. Could anyone help me figure out how to do this?
I saw an article about including additional javax.* packages in your Android App http://code.google.com/p/dalvik/wiki/JavaxPackages.
I wanted to do the same thing, but using Eclipse. Could anyone help me figure out how to do this?
Step 1: Properties -> Java Build Path -> Libraries -> add external jar
Step 2: Properties -> Java Build Path -> Order and Export -> check the new lib
Adding an External Library (.jar) using Eclipse
You can use a third party JAR in your application by adding it to your Eclipse project as follows:
In the Package Explorer panel, right-click on your project and select Properties.
Select Java Build Path, then the tab Libraries.
Press the Add External JARs... button and select the JAR file.
Alternatively, if you want to include third party JARs with your package, create a new directory for them within your project and select Add Library... instead. It is not necessary to put external JARs in the assets folder.