This article explains how to implement the respective Hello World processes for Android and LIBGDX.
1. The Android version of Hello World
Click Eclipse Shortcut, select New Android application, create project, fill in the appropriate name.
2. Then all the way next, choose the default is OK.
3. Create the program file model.
3. Modify the interface display string.
4. Select the project and click Run as-android application.
If you do not have an Android phone, you can create an emulator.
Select Window-android Virtual device Manager and click on the Device tab to select the Nexus One type, select the API and other parameters, and then create it.
Operation Result:
The Android version of the starter program is basically like this, this is the primer, for the back LIBGDX program lay the foundation.
2. LIBGDX Version Entry Program
Unzip the LIBGDX package, find the Gdx-setup-ui.jar and run it, the following screen appears.
Click Create.
Fill in the relevant options, and then open the build page.
Generate the project.
Add the project to eclipse.
Select the File-import-general option and select existing Projects into Workspace.
Click Finish.
There are three projects, core engineering, desktop engineering, Android engineering. Android project will have errors, right click Select Properties, specify its version.
Then click on the desktop version, run as-android application, select Main, run the result
Done. This is the beginning of the game, will be slowly in depth.
Write a bunch of random, the level is limited, also please understand!!!!!!!!!!