Commit graph

9 commits

Author SHA1 Message Date
Joey Hess
a48d340abd Android: Work around Android devices where the am command doesn't work. 2013-05-31 21:30:21 -04:00
Joey Hess
24d40b9cb4 make webapp menu item be visible in all languages 2013-05-29 19:22:16 -04:00
Joey Hess
3e2d50a336 Android: Added an "Open WebApp" item to the terminal's menu. Should work for Android devices that cannot auto-open the webapp on start. 2013-05-28 18:25:27 -04:00
Joey Hess
621384ead3 add android.permission.WRITE_MEDIA_STORAGE
Needed to access removable media such as USB drives.

May only work with newer versions of Android.
2013-05-04 16:31:23 -04:00
Joey Hess
82b57b65cd don't start webapp in the background, so that password prompts can work 2013-05-03 14:59:13 -04:00
Joey Hess
e3f76de319 better webapp startup, using the terminal app's default command config
This allows the user to turn it off easily, or only start the assistant and
not the webapp.

I was not able to determine why having runshell run the webapp segfaulted.
Strace was not helpful. Oh well, this is better anyway.
2013-05-03 12:39:33 -04:00
Joey Hess
ac0292df95 use C shim to start Android app
This should avoid relying on features of the Android builtin shell,
and so hopefully avoid failures like this one
http://git-annex.branchable.com/design/assistant/blog/day_197__template_haskell/#comment-07f90830f78f6495dcbdf90eb8636129

The C shim sets up busybox, and uses its builtin shell to run runshell.

It's important that busybox be configured with
CONFIG_FEATURE_SH_STANDALONE, so that while runshell is running, it
does not rely on either system utilities, or busybox being already
installed.
2013-02-24 13:27:06 -04:00
Joey Hess
e28016cb0d avoid closing app when terminal exists, to aid crash debugging 2013-02-22 17:19:49 -04:00
Joey Hess
a535cb3379 build an apk containing git-annex and a terminal emulator 2013-02-21 15:20:32 -04:00