Skip to content
Snippets Groups Projects
Commit 3eaaff60 authored by Ciro Santilli's avatar Ciro Santilli
Browse files

Android install script, fix redirection or ubuntu run script

parent 4c467cff
No related branches found
No related tags found
No related merge requests found
......@@ -19,3 +19,15 @@ Run daemon and client on background:
Stop daemon and client:
./ubuntu-15.10-stop.sh
## Ubuntu 15.10 host Android device
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:
./ubuntu-15.10-android-install-all-devices.sh
#!/usr/bin/env bash
# Build the Android app and install it on all connected devices.
cd client-android
./compile.sh
# 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.
./install/daemon/libexec/dring 2>&1 >>daemon.log &
./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 2>&1 >>client-gnome.log &
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:install/lrc/lib" ./install/client-gnome/bin/gnome-ring >>client-gnome.log 2>&1 &
echo $! >client-gnome.pid
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment