--- a/HedgeroidGuide.wiki Tue Jan 24 00:20:47 2012 +0000
+++ b/HedgeroidGuide.wiki Tue Jan 24 00:25:54 2012 +0000
@@ -32,7 +32,9 @@
You can use either the GUI, run android and follow the signs or from cli
-{{{android create avd -n <name> -t 4}}}
+{{{
+android create avd -n <name> -t 4
+}}}
-n is a name of your choice -t stands for the target ID
See this for more information
@@ -56,8 +58,9 @@
==Final==
-Next we will create the scripts to compile hedgewars and move SDL directories first you’ll need to make sure cmake knows where all the compilers are
+We will generate the Makefile.android, which is needed to compile hedgewars, download SDL and you’ll need to make sure cmake knows where all the compilers are
+1.<br>
Add `<`NDK`>`:`<`SDK`>`/platform-tools:`<`FPC`>`/compiler to your path, on debian based system I would do it as follows:
{{{
@@ -68,6 +71,7 @@
(Check google on how to do it for your specific OS if you don't know how)
+2.<br>
Now we're gonna download sdl and a couple of its libraries, if you're on linux there's a script you can use
{{{
cd <hedgewars-root>/project_files/Android-build
@@ -79,7 +83,8 @@
TODO: make script for windows and verify if it works for osx
-Next you can use cmake to create the scripts
+3.<br>
+Finally you can use cmake to create the scripts
{{{
cd <hedgewars-root>
@@ -93,7 +98,7 @@
}}}
and it should be installed on your emulator/device if it was connected.
-On the device/emulator start the application up :)
+On the device/emulator you can start the application up :)