summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar parhuzamos <parhuzamos@web>2015-11-27 14:26:35 +0000
committerGravatar admin <admin@branchable.com>2015-11-27 14:26:35 +0000
commit0a999a9c3fa02c0a23cfa9e21ee9a29496de8e1f (patch)
tree510d398640bb647c331e9c2a3a3666969ac15d73
parent7e36b45609a1f3939da13bab9ec98abb1c9d70ff (diff)
-rw-r--r--doc/forum/Manipulate_a_git-annex_repo_from_an_Android_app.mdwn21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/Manipulate_a_git-annex_repo_from_an_Android_app.mdwn b/doc/forum/Manipulate_a_git-annex_repo_from_an_Android_app.mdwn
new file mode 100644
index 000000000..7414faab5
--- /dev/null
+++ b/doc/forum/Manipulate_a_git-annex_repo_from_an_Android_app.mdwn
@@ -0,0 +1,21 @@
+I use the command line almost every hour, I'm familiar with it. But it's a pita on the phone.
+
+I'd like to create an "graphical" Android application that lists/browses the repo's content and allows the user to manipulate the files/directories.
+
+git-annex for Android (5.0) is installed and working fine. I was messing around (on my rooted phone) with the rwx permissions to run the git-annex binary from my app as it's a different user and has no access to those binaries by default. But no success yet:
+
+```
+shell@jfltexx:/storage/sdcard1/repo $ /data/data/ga.androidterm/lib/lib.git-annex.so list
+
+lib.git-annex.so: git: createProcess: runInteractiveProcess: exec: permission denied (Permission denied)
+```
+
+Question 1: How should I set up the permissions to be able to sucessfully run any git-annex command from my (non-commercial, private) Android app?
+
+Question 2: What if I include all the git-annex binaries in my app as a resource and write them to disk after install and execute them? (Permissions should work.)
+
+
+Use case: family videos are stored in a repo at home. This repo is cloned to my phone's sdcard. I want to browse the repo on my phone and mark some directories to be transferred from home to phone. My app would be a simple frontend for git-annex where you can browse and do some basic stuff: get, drop, manipulate metadata (and of course start playing a video).
+
+Thank you for any ideas,
+Bence