- update some help pages

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8799 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..om 13 years ago
parent 0a7dcbca14
commit bcd79f9307
  1. 67
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/android.html
  2. 6
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html
  3. 10
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/sdk/default_build_script.html

@ -21,15 +21,11 @@ This is a draft of a feature that is work in progress. If you have questions or
</li>
<li><div> Install jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym></div>
</li>
<li><div> Install Android Project support in the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym>:</div>
<li><div> (Optional) Install NBAndroid in the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym>:</div>
<ol>
<li><div> Open Tools→Plugins→Settings</div>
</li>
<li><div> Activate the nightly build.</div>
</li>
<li><div> Go to Tools→Plugins→Available Plugins.</div>
</li>
<li><div> Install the Android Support plugin.</div>
<li><div> Install the &quot;Android&quot; plugin.</div>
</li>
</ol>
</li>
@ -136,24 +132,7 @@ It lets you edit the MainActivitity.java, the AndroidManifest.xml, and build.pro
</p>
<p>
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.
</p>
<p>
Activating the nbandroid plugin in the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym> 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:
</p>
<ol>
<li><div> Open Tools→Plugins→Settings</div>
</li>
<li><div> Go to Tools→Plugins→Available Plugins.</div>
</li>
<li><div> Install the NbAndroid plugin. (Will show up as Android)</div>
</li>
</ol>
<p>
Restart the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym>.
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. <em>The libraries are first added to the android sub-project when the main project is built for the first time.</em>
</p>
</div>
@ -165,25 +144,61 @@ Restart the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym
Open your game project in the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym>.
</p>
<p>
<strong>Building</strong>
</p>
<ol>
<li><div> Right-click the project node and choose Set Main Project.</div>
</li>
<li><div> Right-click the project node to build your project. <br/>
An APK file is created in the &quot;dist&quot; folder.</div>
</li>
<li><div> (Right-click and run the project. The default 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!)</div>
</ol>
<p>
<strong>Running</strong>
</p>
<ol>
<li><div> Select the project</div>
</li>
<li><div> Alternatively, select the &quot;Android Device&quot; build configuration next to the Run toolbar button. You can run the project on the emulator (in theory – the emulator doesn’t support OpenGL 2.0 yet?)</div>
<li><div> Select the &quot;Android Device&quot; build configuration next to the Run toolbar button.</div>
</li>
<li><div> Make sure &quot;Compile on Save&quot; is disabled in your project preferences.</div>
</li>
<li><div> Run the application on a connected phone by right-clicking it and selecting &quot;Run&quot; or press the &quot;Play&quot; button in the toolbar.</div>
</li>
</ol>
<p>
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.
</p>
<p>
Optionally, download <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://code.google.com/p/jmonkeyengine/downloads/detail?name=Jme3Beta1Demo.apk&amp;can=1&amp;q="><param name="text" value="<html><u>Jme3Beta1Demo.apk</u></html>"><param name="textColor" value="blue"></object>
</p>
</div>
<h4><a>Installing NBAndroid</a></h4>
<div>
<p>
Activating the nbandroid plugin in the jMonkeyEngine <acronym title="Software Development Kit">SDK</acronym> 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:
</p>
<ol>
<li><div> Open Tools→Plugins→Settings</div>
</li>
<li><div> Go to Tools→Plugins→Available Plugins.</div>
</li>
<li><div> Install the NbAndroid plugin. (Will show up as Android)</div>
</li>
</ol>
</div>
<h4><a>Beta Notes</a></h4>
<div>
<ul>

@ -151,7 +151,7 @@ var NS='jme3:intermediate';var JSINFO = {"id":"jme3:intermediate:headlessserver"
<select><option value="wiki">Wiki</option><option value="forums">Forums</option><option value="posts">Blog</option><option value="groups">Groups</option><option value="links">Links</option></select>
<input type="submit" name="search-submit" id="search-submit" value="Search" />
<input type="hidden" id="_wpnonce" name="_wpnonce" value="3508447626" /><input type="hidden" name="_wp_http_referer" value="/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html" />
<input type="hidden" id="_wpnonce" name="_wpnonce" value="2d55f9c8de" /><input type="hidden" name="_wp_http_referer" value="/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html" />
</form><!-- #search-form -->
@ -307,7 +307,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
<div>
<form><div><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="submit" value="Show pagesource" class="button" accesskey="v" title="Show pagesource [V]" /></div></form> <form><div><input type="hidden" name="do" value="revisions" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div>
<form><div><input type="hidden" name="do" value="login" /><input type="hidden" name="sectok" value="6f139d65a3f955caf3492f84be10ab4e" /><input type="submit" value="Login" class="button" title="Login" /></div></form> <form><div><input type="hidden" name="do" value="index" /><input type="submit" value="Sitemap" class="button" accesskey="x" title="Sitemap [X]" /></div></form> <a><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;
<form><div><input type="hidden" name="do" value="login" /><input type="hidden" name="sectok" value="d53e8f44804daa7c4f329d03722a8f2c" /><input type="submit" value="Login" class="button" title="Login" /></div></form> <form><div><input type="hidden" name="do" value="index" /><input type="submit" value="Sitemap" class="button" accesskey="x" title="Sitemap [X]" /></div></form> <a><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;
</div>
<div></div>
</div-->
@ -351,7 +351,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js'></script>
<!-- Generated in 0.291 seconds. (76 q) -->
<!-- Generated in 0.280 seconds. (79 q) -->
<div>
<div></div>

@ -80,7 +80,7 @@ You will notice that the file <code>nbproject/build-impl.xml</code> opens. It co
<div>
<p>
<img src="nbdocs:/com/jme3/gde/core/docs/sdk/build-impl.png">
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.
</p>
@ -89,15 +89,11 @@ Read the comments in <code>build.xml</code>, they explain how to override target
</p>
<p>
Additionally, you can manually edit the <code>*-build-impl.xml</code> 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.
</p>
<p>
Don&#039;t edit the base <code>build-impl.xml</code>.
Additionally, you can manually override the targets in the <code>*-impl.xml</code> 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&amp;paste a target from these files into the main build.xml and that will be run instead with all modifications.
</p>
<p>
<img src="nbdocs:/com/jme3/gde/core/docs/sdk/build-impl.png">
Don&#039;t edit the base <code>*-impl.xml</code> 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.
</p>

Loading…
Cancel
Save