Import:
Third-party external jar library files can be used on the Android platform. In the eclipse development environment, third-party. Jar files can be used in only three steps.
1. on the package explorer panel, right-click and choose Properties From the shortcut menu)
2. Select Java build path (Java build path) and then select the libraries tab.
3. Press the Add external jars button and select the JAR file.
If you want to include third-party jars to your package, create a new directory in your project and select Add library... android Development Network prompts that the external jars file can be used normally without being put into the project folder.
Export:
First, create an android project, confirm that the android project can be compiled, remove the androidmanifest. xml file, andProgramResource image, such as res/drawable/icon.png. In eclipse, find package explorer and select export;
Next, select Java and JAR file in the Export Dialog Box;
In JAR File Specification, select the resources that we need everywhere. In JAR file: path, select the storage location of the exported files, select compress the contents of the JAR file to compress the size of the generated file. Click Next or finish to complete the export. In this way, you can import the database in future projects.CodeThe effect of multiplexing is similar to that of DLL files developed in Windows 32.