First, build the Android development environment
Before using the LeadTools Android Library and demo, you need to build the Android development environment according to the following steps:
1. Install Java Development Kit (JDK) 1.6, which contains Java runtimes (JRE) and libraries.
2. Install Eclipse.
3. Install the Android SDK.
4. Click on the EXISTING IDE on the Web page and click Download the SDK Tools for Windows.
5. Start the Android SDK Manager and select the installation package. Click Install XX packages ..... Once you have downloaded and installed the installation package, close the SDK Manager.
Ii. Installing the ADT Plugin
1. Start Eclipse. The first time you use Eclipse, a Select a Workspace dialog box appears, where you can specify where the new project file will be saved on your PC. After selecting workspace, click OK.
2. In the main interface of Eclipse, choose Help--Install New software ..., click the Add button, and then enter the address in the edit box of work with: https://dl-ssl.google.com/android /eclipse/, then click OK.
Select all the items under "Developer Tools", click Next, then click Finish.
Iii. Creating an Android virtual device
1. Restart Eclipse. From the toolbar, click the button to launch Android Virtual Device Manager.
2. In the Android Virtual Device Manager dialog box, click New .... A Create New Android Virtual Device (AVD). Create two Android virtual devices with the settings shown.
Iv. Importing and creating Leadtools.demos
Follow these steps to launch LeadTools Android Libraries and create a demo.
Repair file Permissions
1. Make sure you have a copy of the LeadTools Android library (Jar and SOS) and LeadTools Android Demo project.
2. Open Eclipse, and then select File, Import. Under Select an import source, expand Android Source and select existing Android Code into Workspace.
3. In the Import Projects dialog box, click Browse ... button to select the root directory of the Leadtools.demos. If you select the Copy projects into workspace project, a copy of the project is located at the workspace specified at startup. Click Finish to load the project.
4. From the Project menu, cancel build automatically. Then select Project, Build project.
V. Import and create the viewer Demo
Import Project
1. After copying the files, select File-and Import in Eclipse and select existing Android Code into Workspace. Select Viewerdemo and use it as the root Directory for your project. Right-click the Viewerdemoactivity project in the Package explorer panel in Eclipse and select Properties.
2. Click on the Android option on the left.
Create a project
Select the Viewerdemoactivity project in the package explorer on the left side of Eclipse, and then choose Project, Build Project. If the project is not successfully built, see the list of errors in the problems panel at the bottom.
Run Demo
1. After creating the project and running the configuration, select Run, run. If no run configuration is created, select the Run as Android application option.
2, the emulator will start, and upload the viewer Demo.
3, after the demo opens, the LEADTOOLS license notification will appear, prompting the demo to run without license information. Click OK.
>>> Download LeadTools AndroidLibrary