Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Running urcli on Android Device

Rahul Saxena edited this page Jun 19, 2017 · 1 revision

This guide will show a hack to run urcli on your android device.

Android is built on top of Linux Kernel. So we can use them to take its benefit by running nodejs in it. We will use an android terminal emulator for running our urcli.

Steps for running urcli on your android device:

  1. Download and install the Termux android application from google playstore. The system requirement for installing it is Android version 5.0+.

  2. Open the Termux app. It will show you a Command Line Interface. Type these commands:

    • First check it for updates and upgrades:

        $ apt update && apt upgrade
      
    • Termux comes with minimal base system, so consider installing coreutils for full fledged commands of CLI:

        $ apt install coreutils	
      
    • Urcli uses nodejs as its backend. So, we must install it:

        $ apt install nodejs
      
    • Its time to install urcli:

        $ npm -g install urcli
      
  3. Our urcli is successfully installed on your android device. It's time to set it up:

     $ urcli setup "YOUR_API_TOKEN"
    

Woohoo! Urcli is running on your portable android mobile phone. You can track your position on your phone anytime. It just needs an active internet connection. This commands page will help you figuring out running the commands like setup, assign, token, revenue and certs.

References:

Clone this wiki locally