summaryrefslogtreecommitdiff
path: root/doc/design/assistant/android.mdwn
blob: de194ffb55d3eb2ab55837e400ceb5b4faf138b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
### goals

1. Get git-annex working at the command line in Android,
   along with all the programs it needs, and the assistant. **done**
2. Deal with crippled filesystem; no symlinks; etc. **done**
3. Get an easy to install Android app built. **done**
4. Get the webapp working. Needs Template Haskell, or a workaround.

### Android specific features

The app should be aware of power status, and avoid expensive background
jobs when low on battery or run flat out when plugged in.

The app should be aware of network status, and avoid expensive data
transfers when not on wifi. This may need to be configurable.

## TODO

* webapp
* autostart any configured assistants. Best on boot, but may need to only
  do it when app is opened for the first time.
* Don't make app initially open terminal, but go to a page that
  allows opening the webapp or terminal.
* I have seen an assistant thread crash with an interrupted system call
  when the device went to sleep while it was running. Auto-detect and deal with
  that somehow.
* Make git stop complaining that "warning: no threads uspport, ignoring --threads"
* git does not support http remotes. To fix, need to port libcurl and
  allow git to link to it.
* getEnvironment is broken on Android <https://github.com/neurocyte/ghc-android/issues/7>
  and a few places use it.