From bcd79f9307c8eee4d8baaab729538c00b3049f86 Mon Sep 17 00:00:00 2001
From: "nor..om"
-
-The Android deployment option creates a separate sub-project for android and makes the main project and associated libraries available to the sub-project as libraries. The sub-project can be edited using NBAndroid (see below) or using Eclipse or any other IDE that supports standard android projects. Normally you do not need to edit the android project files. Exceptions are described further below. -
- --Activating the nbandroid plugin in the jMonkeyEngine SDK is optional, but recommended. You do not need the nbandroid plugin for Android support to work, however nbandroid will not interfere and will in fact allow you to edit the android source files and project more conveniently. To be able to edit, extend and code android-specific code in Android projects, install NBAndroid from the update center: -
-- -Restart the jMonkeyEngine SDK. +The Android deployment option creates a separate sub-project for android and makes the main project and associated libraries available to the sub-project as libraries. The sub-project can be edited using NBAndroid (see below) or using Eclipse or any other IDE that supports standard android projects. Normally you do not need to edit the android project files. Exceptions are described further below. The libraries are first added to the android sub-project when the main project is built for the first time.
@@ -165,25 +144,61 @@ Restart the jMonkeyEngine SDKSDK. + ++Building +
+ +Running +
++The default android run target uses the default device set in the Android configuration utility. If you set that to a phone you can run the application directly on your phone, the emulator does not support OpenGLES 2.0 and cannot run the engine. +
+ +Optionally, download
++Activating the nbandroid plugin in the jMonkeyEngine SDK is optional, but recommended. You do not need the nbandroid plugin for Android support to work, however nbandroid will not interfere and will in fact allow you to edit the android source files and project more conveniently. To be able to edit, extend and code android-specific code in Android projects, install NBAndroid from the update center: +
+nbproject/build-impl.xml
opens. It co
- + The build script is a non-proprietary Apache Ant script. It will work out-of-the-box, but if necessary, you can extend and customize it.
@@ -89,15 +89,11 @@ Read the comments inbuild.xml
, they explain how to override target
-Additionally, you can manually edit the *-build-impl.xml
files that are created when you change the deployment settings: linuxlauncher-impl.xml, macapp-impl.xml, mobile-impl.xml, jnlp-impl.xml, etc. Note that if you deactivate and reactivate a deployment setting, these files are reset, so keep a copy of your changes.
-
-Don't edit the base build-impl.xml
.
+Additionally, you can manually override the targets in the *-impl.xml
files that are created when you change the deployment settings: linuxlauncher-impl.xml, macapp-impl.xml, mobile-impl.xml, jnlp-impl.xml, etc. Simply copy&paste a target from these files into the main build.xml and that will be run instead with all modifications.
-
+Don't edit the base *-impl.xml
files directly, if you deactivate and reactivate a deployment setting, these files are reset, so you have to copy the whole target and its dependencies, else your build script will become invalid when you disable the deployment option.