From 7ca034a43021cc217b5ed8a016eb0246372e8bf1 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Wed, 28 Jun 2017 08:20:50 +0200 Subject: [PATCH] [DEV] add doc and set android in openGL ES 3 limit at API 19(4.3) --- doc/100_Use_on_Ios.md | 4 ++-- doc/101_Use_on_Android.md | 15 +++++++++++++++ lutin/z_system/lutinSystem_Android_opengl.py | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 doc/101_Use_on_Android.md diff --git a/doc/100_Use_on_Ios.md b/doc/100_Use_on_Ios.md index 990e923..aa57fde 100644 --- a/doc/100_Use_on_Ios.md +++ b/doc/100_Use_on_Ios.md @@ -47,8 +47,8 @@ Do it ... it does not work ... lutin -C -D -tIOs yourApplication?install ``` -Appliocation ID ---------------- +Application ID +-------------- It miss some things to do: diff --git a/doc/101_Use_on_Android.md b/doc/101_Use_on_Android.md new file mode 100644 index 0000000..70e82a2 --- /dev/null +++ b/doc/101_Use_on_Android.md @@ -0,0 +1,15 @@ +Connect device +To connect to a real device or phone via ADB under Arch, you must: + +install android-udev + +plug in your android device via USB. + +Enable USB Debugging on your phone or device: + +Jelly Bean (4.2) and newer: Go to Settings --> About Phone tap “Build Number” 7 times until you get a popup that you have become a developer. Then go to Settings --> Developer --> USB debugging and enable it. The device will ask to allow the computer with its fingerprint to connect. allowing it permanent will copy $HOME/.android/adbkey.pub onto the devices /data/misc/adb/adb_keys folder. + +If android-udev has been installed, add yourself to the adbusers group: + +# gpasswd -a username adbusers + diff --git a/lutin/z_system/lutinSystem_Android_opengl.py b/lutin/z_system/lutinSystem_Android_opengl.py index 3f7a681..9f13cf2 100644 --- a/lutin/z_system/lutinSystem_Android_opengl.py +++ b/lutin/z_system/lutinSystem_Android_opengl.py @@ -31,6 +31,6 @@ class System(system.System): destination_path="GL", recursive=True) """ - self.add_flag('link-lib', "GLESv2") + self.add_flag('link-lib', "GLESv3")