summaryrefslogtreecommitdiff
path: root/doc/design/assistant/android.mdwn
blob: 1db2913a78a8a1be73f19c982536c465df583244 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
Porting git-annex to Android will use the Android native SDK.

A hopefully small Java app will be developed, which runs the webapp
daemon, and a web browser to display it.

### programs to port

These will probably need to be bundled into the Android app, unless already
available in the App Store.

* ssh (native ssh needed for scp, not a client like ConnectBot)
* rsync
* gpg
* git (not all git commands are needed,
  but core plumbing and a few like `git-add` are.)

## GHC Android?

Android's native SDK does not use glibc. GHC's runtime links with glibc.
This could be an enormous problem. Other people want to see GHC able to
target Android, of course, so someone may solve it before I get stuck on
it.

References:

* <http://stackoverflow.com/questions/5151858/running-a-haskell-program-on-the-android-os>
* <http://www.reddit.com/r/haskell/comments/ful84/haskell_on_android/>

I've heard anecdoally that ipwnstudios not only has an IPhone GHC port,
but also Android. Need to get in touch with them.
<http://ipwnstudios.com/>

### 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.

## FAT

Due to use of the fat filesystem, which doesn't do symlinks, [[nosymlink]]
is probably needed.