2013-02-11 20:55:59 +00:00
|
|
|
### goals
|
2012-05-27 01:11:19 +00:00
|
|
|
|
2013-02-10 20:00:12 +00:00
|
|
|
1. Get git-annex working at the command line in Android,
|
2013-02-15 18:36:49 +00:00
|
|
|
along with all the programs it needs, and the assistant. **done**
|
2013-02-22 21:06:00 +00:00
|
|
|
2. Deal with crippled filesystem; no symlinks; etc. **done**
|
|
|
|
3. Get an easy to install Android app built. **done**
|
2013-02-23 04:38:06 +00:00
|
|
|
4. Get the webapp working. Needs Template Haskell, or
|
2013-03-01 18:21:10 +00:00
|
|
|
switching to <http://www.yesodweb.com/blog/2012/10/yesod-pure>.
|
2013-03-09 00:47:39 +00:00
|
|
|
5. Possibly, switch from running inside terminal app to real standalone app.
|
|
|
|
See <https://github.com/neurocyte/android-haskell-activity>
|
|
|
|
and <https://github.com/neurocyte/foreign-jni>.
|
2013-02-10 20:00:12 +00:00
|
|
|
|
2012-05-31 19:25:26 +00:00
|
|
|
### 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.
|
2012-10-05 15:57:48 +00:00
|
|
|
|
2013-03-01 18:21:10 +00:00
|
|
|
## Template Haskell for android?
|
|
|
|
|
|
|
|
Best lead I have on getting cross compilation of TH working is that GHCJS
|
|
|
|
does it, and that it involves compiling each file twice, once natively for
|
|
|
|
TH and once for cross.
|
|
|
|
|
2013-02-21 20:57:28 +00:00
|
|
|
## 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"
|
2013-02-22 17:43:27 +00:00
|
|
|
* git does not support http remotes. To fix, need to port libcurl and
|
|
|
|
allow git to link to it.
|
2013-02-22 18:47:29 +00:00
|
|
|
* getEnvironment is broken on Android <https://github.com/neurocyte/ghc-android/issues/7>
|
|
|
|
and a few places use it.
|
2013-02-26 19:30:50 +00:00
|
|
|
* Enable WebDAV support. Currently needs template haskell (could be avoided
|
|
|
|
by changing the DAV library to not use it), and also networking support,
|
|
|
|
which seems broken in current ghc-android.
|
2013-03-27 20:50:11 +00:00
|
|
|
* XMPP support. I got all haskell libraries installed, but it fails to find
|
|
|
|
several C libraries at link time.
|
2013-03-27 20:18:53 +00:00
|
|
|
* Get local pairing to work. network-multicast and network-info don't
|
|
|
|
currently install.
|
2013-03-01 18:21:10 +00:00
|
|
|
* Get test suite to pass. Current failure is because `git fetch` is somehow
|
|
|
|
broken with local repositories.
|