diff --git a/standalone/android/runshell b/standalone/android/runshell index 7bebd0cf3b..1c947bf8bf 100755 --- a/standalone/android/runshell +++ b/standalone/android/runshell @@ -113,9 +113,6 @@ run () { # As good a start point as any. cd "$HOME" - $cmd echo "Starting git-annex interface, please wait ..." - $cmd nohup git-annex webapp || $cmd true - $cmd echo "The git-annex interface is no longer running." /system/bin/sh fi } diff --git a/standalone/android/term.patch b/standalone/android/term.patch index ae2228ccbc..5947466a0c 100644 --- a/standalone/android/term.patch +++ b/standalone/android/term.patch @@ -1,3 +1,34 @@ +diff --git a/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java b/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java +index f6952f0..1a8df8f 100644 +--- a/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java ++++ b/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java +@@ -166,7 +166,7 @@ public class TermActivity extends Activity + /* ... create a process ... */ + String execPath = LaunchActivity.getDataDir(this) + "/bin/execpty"; + ProcessBuilder execBuild = +- new ProcessBuilder(execPath, "/system/bin/sh", "-"); ++ new ProcessBuilder(execPath, "/data/data/ga.androidterm/lib/lib.start.so", ""); + execBuild.redirectErrorStream(true); + Process exec = null; + try { +diff --git a/res/values/defaults.xml b/res/values/defaults.xml +index 67287b2..c2103ba 100644 +--- a/res/values/defaults.xml ++++ b/res/values/defaults.xml +@@ -13,10 +13,10 @@ + 4 + 0 + false +- /system/bin/sh - +- ++ /data/data/ga.androidterm/lib/lib.start.so ++ git annex webapp & + screen +- true ++ false + true + true + true diff --git a/tools/build-debug b/tools/build-debug index 1f15cd2..e611956 100755 --- a/tools/build-debug @@ -28,33 +59,3 @@ index 57219c3..79b45ef 100755 - $ANDROID update project -p "$PROJECT_DIR" --target android-11 + $ANDROID update project -p "$PROJECT_DIR" --target android-17 done -diff --git a/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java b/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java -index f6952f0..4b2aa5f 100644 ---- a/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java -+++ b/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java -@@ -166,7 +166,7 @@ public class TermActivity extends Activity - /* ... create a process ... */ - String execPath = LaunchActivity.getDataDir(this) + "/bin/execpty"; - ProcessBuilder execBuild = -- new ProcessBuilder(execPath, "/system/bin/sh", "-"); -+ new ProcessBuilder(execPath, "/data/data/ga.androidterm/lib/lib.start.so", ""); - execBuild.redirectErrorStream(true); - Process exec = null; - try { -diff --git a/res/values/defaults.xml b/res/values/defaults.xml -index 67287b2..1f9afa1 100644 ---- a/res/values/defaults.xml -+++ b/res/values/defaults.xml -@@ -13,10 +13,10 @@ - 4 - 0 - false -- /system/bin/sh - -+ /data/data/ga.androidterm/lib/lib.start.so - - screen -- true -+ false - true - true - true