Commit 54065003 authored by Ciro Santilli's avatar Ciro Santilli

Improve doc working, run and stop work if run from another directory, update submodules

parent 8cbf7fc2
......@@ -22,12 +22,14 @@ Stop daemon and client:
## Ubuntu 15.10 host Android device
This script does not automate the installation of any Android development tools.
First ensure that you can build and install a minimal Android App on your device, e.g. <https://github.com/cirosantilli/android-cheat/tree/214fab34bb0e1627ac73e43b72dee7d1f8db7bfb/min>
This will at least require installing the SDK.
All executables used must be in your `PATH`, e.g. `adb`.
Then build and install on all devices with:
Then build and install on all connected devices with:
./ubuntu-15.10-android-install-all-devices.sh
client-android @ 4423b10e
Subproject commit 01dd7b25a5a6681df1c8053e14eb4b92aedb5fb5
Subproject commit 4423b10e1dd8601d00486e1b78d39180cb45f410
client-gnome @ 066e33b1
Subproject commit 26cd160c13c062e9d08c784370156b9712e631e6
Subproject commit 066e33b128e44a2cf1dfe388d915cc6e7f21a9e6
client-windows @ 389a2296
Subproject commit 9c3e7f78f86629ca23847c68f8c521719bb9f318
Subproject commit 389a229654e1b2fe6d3fd020b15acef169f6b32b
daemon @ 8f8eb254
Subproject commit 927f3b9cfdbad6ba8744b905ce48adb9e804a652
Subproject commit 8f8eb254a522faded0190b769ac0da2e7606a118
lrc @ 0e79b741
Subproject commit dcf6195e113c50ba5dac65fa99d2fe8211a55778
Subproject commit 0e79b741d9a139f4fc46ff98cececbf9ea4fefdf
......@@ -4,5 +4,6 @@ set -e
./ubuntu-15.10-dependencies.sh
cd client-android
./compile.sh
# TODO use gradlew instead.
# From: http://stackoverflow.com/questions/8610733/how-can-i-adb-install-an-apk-to-multiple-connected-devices
adb devices | tail -n +2 | cut -sf 1 | xargs -i'{}' adb -s '{}' install ring-android/app/build/outputs/apk/app-debug.apk
#!/usr/bin/env bash
# Run local install daemon and client that have\
# been installed with the install script on the background.
cd "$(dirname "${BASH_SOURCE[0]}")"
./install/daemon/libexec/dring >>daemon.log 2>&1 &
echo $! >daemon.pid
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:install/lrc/lib" ./install/client-gnome/bin/gnome-ring >>client-gnome.log 2>&1 &
......
#!/usr/bin/env bash
# Stop local install daemon and client that have been installed with the install script.
cd "$(dirname "${BASH_SOURCE[0]}")"
kill "$(cat client-gnome.pid)"
kill "$(cat daemon.pid)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment