-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added vsync setting, it required for some device as nvidia shield
- Loading branch information
U-TelNav-PC\TelNav
authored and
U-TelNav-PC\TelNav
committed
Nov 10, 2014
1 parent
fd73c7d
commit 2b9d95b
Showing
6 changed files
with
123 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
1) At first for building we need linux-console | ||
I used speedLinux under windows | ||
|
||
2) Install Android sdk&ndk (i unpacked it into ~/sdk directory) | ||
https://developer.android.com/tools/sdk/ndk/index.html | ||
https://developer.android.com/sdk/index.html | ||
|
||
for run android environment i create and use simple script setenv-android.sh | ||
|
||
#!/bin/sh | ||
|
||
export ANT_HOME=~/sdk/apache-ant-1.8.2 | ||
export PATH=~/sdk/android-ndk-r10c:$PATH | ||
export PATH=~/sdk/android-sdk-linux/tools:$PATH | ||
export PATH=~/sdk/android-sdk-linux/build-tools/21.0.1:$PATH | ||
export PATH=~/sdk/jdk1.7.0_03/jre/bin:$PATH | ||
export PATH=~/sdk/apache-ant-1.8.2/bin:$PATH | ||
|
||
now we can run android build environment via console | ||
. setenv-android.sh | ||
|
||
Now via Android SDK Manager (for call sdk manager via console type android). We need download latest version: | ||
Android SDK Tools | ||
Android SDK Platform-tools | ||
Android SDL Build tools | ||
Android 5.0 (API 21) | ||
+SDK Platform (API 21) | ||
+Google APIs (API 21) | ||
|
||
3) Install pelya's libSDL-environment | ||
cd ~ | ||
git clone git://github.com/pelya/commandergenius | ||
I renamed commandergenius folder to androidsdl | ||
|
||
4) download uae4all2 sources | ||
git clone git://github.com/lubomyr/uae4all2 | ||
Copy folder ~/uae4all2 into ~/androidsdl/project/jni/application | ||
cd ~/androidsdl/project/jni/application/uae4all2 | ||
. copy_src2x86.sh | ||
. copy_src2v7a.sh | ||
. copy_src2v7a-neon.sh | ||
|
||
|
||
// creating symlink src to uae4all2 | ||
cd ~/androidsdl/project/jni/application | ||
rm src | ||
ln -s uae4all2 src | ||
|
||
// Now we can build project (apk) | ||
cd ~/androidsdl | ||
./build.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters