HiveMinds / HiveMinds/tw-install

Auto install taskwarrior on android.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Android Automation enhancement Installation
Dominant language
Shell
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description


  1. Include question in setup user prompt and install taskwarrior on android.

  2. Install taskwarrior from fdroid via adb and usb to android phone (also prompt user to connect phone at the end).

  3. Copy certificates to correct location in phone automatically after installation. (Display message on phone when it can be disconnected).


Initially the user would have to manually install WSL, then open WSL, run 2 commands to install java and then run the installation .jar. However when issue #11 is fixed, the installation will be performed from/starting in Windows, so it should be possible to also install taskwarrior on android through adb from Windows.


However initially I tried to do it from java in Linux, this is the attempt:

Initial attempt to install taskwarrior on android phone from wsl ubuntu:

source: http://sonntam.github.io/build-adb/


cd ~ mkdir android cd android

sudo apt-get install git build-essential libncurses5-dev git clone
https://android.googlesource.com/platform/system/core.git system/core git
clone https://android.googlesource.com/platform/build.git git clone
https://android.googlesource.com/platform/external/zlib.git external/zlib git
clone https://android.googlesource.com/platform/bionic.git git clone
https://android.googlesource.com/platform/external/stlport.git
external/stlport git clone
https://android.googlesource.com/platform/external/libcxx.git external/libcxx
git clone https://android.googlesource.com/platform/external/openssl.git






External/openssl Problem: requires python version of windows to be identical.

(which requires users to enter additional commands outside the WSL, or reboot

their entire pc)


This difficulty is overcome by installing taskwarrior from Windows in stead of WSL because the python version for adb does work in Windows (because it does not need the Windows python version to equal the Linux python version).


Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.