Overview
This tutorial helps you enabling the EMDK API in your project created in Eclipse with ADT, so that you can access it in your application. This is going to be a common step for all the tutorials that use EMDK for Android API.
Enabling the EMDK
Select the project.
Select "File -> Properties" or right click on the project and select "Properties".
Click "Android" from the left pane.
Select the "EMDK" target name from the list of Project Build Targets for the API version you require.
Note:
If an "EMDK..." target name is not on the list of Build Targets, please confirm you have installed Android API 16 SDK Platform.Click "Apply" and "OK".
Note:
The EMDK library will be added to the project.Note: If you are using Java 1.7 as the compiler, you may see this error
To correct this, you will need to change the compiler to use 1.6
- Click on the Java Compiler
- Click Enable project specific settings
- Select 1.6 for Compiler compliance level