diff options
Diffstat (limited to 'android/README')
-rw-r--r-- | android/README | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/android/README b/android/README index 6c9d2ad4c6..8f0a85cabb 100644 --- a/android/README +++ b/android/README | |||
@@ -16,22 +16,20 @@ compiling the java files will fail. | |||
16 | 16 | ||
17 | * Build instructions | 17 | * Build instructions |
18 | 18 | ||
19 | Use this as your build folder, using '../tools/configure' etc. | 19 | 1. Create a separate build folder. Do not build in this source directory. |
20 | $ ../tools/configure # type 200, then chose A for android and your screen resolution | ||
21 | $ make | ||
22 | 20 | ||
21 | 2. Run "../tools/configure". Choose target 200, then chose 'A' for Android | ||
22 | and input your screen resolution. | ||
23 | 23 | ||
24 | After the build finished, build the zip file which contains codecs and themes (the binary is a separate file): | 24 | 3. Run "make" |
25 | $ make zip | ||
26 | 25 | ||
27 | Once you have the zip, pack it and the binary into the apk | 26 | 4. Run "make zip". This has to be run the first time, and any time themes |
28 | $ make apk | 27 | or plugins have changed. Otherwise you may skip it. |
29 | 28 | ||
30 | Side note: You don't necessarily need to recreate the zip once you have it, only if you're unsure or if you know its content changed. | 29 | 5. Run "make apk" |
31 | Not recreating it will save time because it's only unzipped on the device if it's newer than what's on the device | ||
32 | 30 | ||
33 | You can install that on your device or emulator with the following command: | 31 | 6. Optional. Install on your target/emulator, using the following command: |
34 | $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk | 32 | "$ANDROID_SDK_PATH/tools/adb install -r rockbox.apk" |
35 | 33 | ||
36 | 34 | ||
37 | [1]: http://developer.android.com/sdk/index.html | 35 | [1]: http://developer.android.com/sdk/index.html |