/Antox

Android client for Project Tox - Secure Peer to Peer Messaging

Primary LanguageScalaGNU General Public License v3.0GPL-3.0

Jenkins: Build Status CircleCI: CircleCI


Antox is an Android 4+ client for Tox created by Mark Winter. It aims to bring the full multimedia support Tox offers to your device, although it's still currently in heavy development. Antox is currently available for alpha testing on Google Play and F-Droid.

Screenshots

Current development

  • Android 6 (Marshmallow) permission support
  • Bugfixing A/V

Getting Antox

Antox can be downloaded from Google Play.

To install on F-Droid, add https://pkg.tox.chat/fdroid/repo and search for "Antox". Fingerprint: 9F777DD77C7F768269848233CF83D44F5C4FE480D7D5CB1CF32820B23A1AF086

The APK can be downloaded here

What Is Currently Working

  • One to one messaging
  • File transfers
  • Avatars
  • Partial A/V support

Translating Antox

  • You can localize the application via pull request or using Transifex. We are currently trying to find who has login details for the Transifex account so languages can be merged. For now, it is better to make a pull request to get new languages merged as soon as possible.

Compiling Antox From Source with Android Studio

  • Download https://developer.android.com/sdk/installing/studio.html
  • In Android Studio, go to Help>Check For Updates. As of writing, the latest version of AS is 2.2.3
  • In Android Studio again, go to Tools>Android>SDK Manager. Make sure you're using the latest SDK tools and SDK Build tools.
  • Clone the Antox repo
  • To import the project, go to File>Import Project. Select the build.gradle file in the root of the Antox folder
  • Download the latest tox4j binaries by running the download-dependencies script (./download-dependencies.sh on Linux/Mac or download-dependencies.bat on Windows)
  • Install the Scala plugin in IntelliJ, restart, and wait for IntelliJ to set itself up
  • Connect your phone in developer mode and click Run in Android Studio. It will install Antox on to your phone and run it automatically.

You may get an error when using the latest version of Android Studio:

Unsupported method: AndroidProject.getPluginGeneration().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.

Currently there is no fix for this, but there is a workaround by disabling instant run. This can be done by going to File > Settings > Build, Execution, Deployment > Instant Run and unchecking enable.

Compiling Antox From Source using Gradle

  • Download and install the SDK tools http://developer.android.com/sdk/index.html#Other
  • Run ./download-dependencies.sh (download-dependencies.bat on Windows)
  • Run the gradle wrapper ./gradlew build -x lint --parallel (gradlew.bat build -x lint --parallel on Windows). This will download gradle to your project files to ensure you have the correct version of gradle for building
  • If errors occur during the first build, run the command again
  • The apk will then be available in app/build/outputs/apk/
  • To install the app via ADB, run adb install <apk file>

Mug

By popular demand, the Antox mug is now available on Redbubble

Remarks

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

This repository resembles but is legally distinct from astonex/Antox and the Lollipop Guild.