This tutorial shows you how to set up DroidUX with Eclipse IDE for your Android app development.

Step 1: Define a Classpath Variable to reference the DroidUX JAR file

Go to Eclipse > Preferences, then select Java > Build Path > Classpath Variable in the left pane.  Click the New… button.  Type in the variable name, e.g. DROIDUX_LIB, then select the DroidUX JAR file. Click OK.  And click OK once more to close the Preferences window.

Step 2: Import the DroidUX-libproj project into the workspace

Go to File > Import, select the Existing Projects into Workspace option, and click Next.  Browse to the location of the DroidUX-libproj project, and select it.  Click Finish to add the DroidUX-libproj project to the workspace.

Step 3: Create Your Android Application Project

Go to File > New > Android Project, then enter your project information.  Click Finish when you’re done.

Step 4:  Add DroidUX References To Your Project

Select your project, then go to Project > Properties.  Select the Android preference in the left pane.  In the Library section in the right pane, click the Add… button, and select the DroidUX-libproj project, then click OK.  Then click Apply to commit the change.

Still in the Properties window, select the Java Build Path preference in the left pane.  Then select the Libraries tab in the right pane.  Click on the Add Variable… button, and select the variable you created in Step 1.  Then click OK.  Click OK once more to close the Properties window.

Your project should now have references to both the DroidUX implementation JAR file, and the resource library project.

That’s all.  Yes, it’s that simple.

Pin It on Pinterest

Shares
Share This