No description
Find a file
2019-02-11 16:30:16 +01:00
.github changed the wording of the issue template to improve the perception of what goes where 2019-01-28 22:14:38 +01:00
.tx update translations 2018-12-13 02:39:23 +01:00
assets remove unused apn database and tools 2018-11-30 16:50:27 +01:00
docs comment, update store files 2019-02-11 16:30:16 +01:00
gradle/wrapper Initial commit 🌱 2018-08-14 17:20:46 +02:00
jni Update messenger-backend submodule. 2019-02-10 14:44:06 +01:00
libs Initial commit 🌱 2018-08-14 17:20:46 +02:00
res update translations 2019-02-10 16:27:43 +01:00
src create NotificationChannel only if it does not exist 2019-02-10 16:49:46 +01:00
store comment, update store files 2019-02-11 16:30:16 +01:00
tools change deltachat-android-ii to deltachat-android; fix some lineend 2019-01-21 23:55:22 +01:00
website Initial commit 🌱 2018-08-14 17:20:46 +02:00
.gitattributes Initial commit 🌱 2018-08-14 17:20:46 +02:00
.gitignore add option to add a static certificate to the tools directory, ignore keyfiles, tackles #444 2019-01-22 02:36:29 +01:00
.gitmodules 4 - Add core and initial bindings 2018-08-16 15:35:16 +02:00
AndroidManifest.xml request permission to ask the user to ignore battery-optimize 2019-02-08 17:18:10 +01:00
build.gradle change targetSdkVersion from 25 to 26 2019-02-08 00:14:17 +01:00
CHANGELOG.md changelog 2019-01-23 12:43:18 +01:00
Dockerfile Initial commit 🌱 2018-08-14 17:20:46 +02:00
gradlew Initial commit 🌱 2018-08-14 17:20:46 +02:00
gradlew.bat Initial commit 🌱 2018-08-14 17:20:46 +02:00
LICENSE Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-appcompat-v7.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-automation.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-glide.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-jackson.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-retrofit.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-retrolambda.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-rounded-image-view.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard-shortcutbadger.pro Initial commit 🌱 2018-08-14 17:20:46 +02:00
proguard.cfg Allow for customized Background image #50 2018-10-12 11:03:29 +02:00
README.md readme: update year 2019-02-10 23:30:02 +01:00
standards.md add standards.md from old repo here to satisfy some links. in general, the file should be moved to core or spec, however 2019-01-27 17:31:25 +01:00

Delta Chat Android Client

This is the android client for Delta Chat. For the core library and other common information, please refer to Delta Chat Core Library. For ready-to-use binaries, please go to https://delta.chat .

Screenshot Chat List Screenshot Chat View

Build

When checking out deltachat-android, make sure also to check out the subproject deltachat-core:

  • When using Git, you can do this initially by $ git clone --recursive https://github.com/deltachat/deltachat-android or later by git submodule update --init --recursive. If you do this in your home directory, this results in the folder ~/deltachat-android which is just fine.

  • Alternatively, you can download the deltachat-android zip-file; in this case, also download the deltachat-core zip-file and place its contents to jni/messenger-backend

Then, call ndk-build in the root directory to build the C-part; this also builds deltachat-core. Afterwards run the project in Android Studio. The project requires API 25.

With chance, that's it :) - if not, read on how to setup a proper development environment.

Install Development Environment

  1. Some libs required by Android Studio may be missing on 64 bit Linux machines [Source], so for Ubuntu execute
    $ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
    and for Fedora execute
    $ sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

  2. Download Android Studio from https://developer.android.com (android-studio-ide-...-linux.zip) and unpack the archive which contains a single folder called android-studio; move this folder eg. to ~/android-studio

  3. To launch Android Studio for the first time, open a terminal, navigate to ~/android-studio/bin, execute ./studio.sh and use all standard values from the wizard.

  4. Android Studio now ask you if you want to download an existing project; choose ~/deltachat-android as created in the "Build" chapter (Android Studio starts to build the project, however, there are some steps missing before this will succeed).

  5. As Delta Chat uses API 25 for some reasons, click on the corresponding error message and install "Nougat 7.1.1 (API 25)" and the "Build-Tools" (you should also find the option at "Tools / Android / SDK Manager / SDK Platforms"). Now the build should succeed - but the app still misses the native part.

  6. Download Android NDK Revision 14b from NDK Archives (Newer releases shall not be used currently, they are not compatible, see issues #197, #220, #248) and unzip the archive which contains a single folder called android-ndk-r...; move this folder eg. to ~/android-ndk-r...

  7. Export the folder path to your environment as ANDROID_NDK and add it to PATH. You can archive this eg. by adding the following lines to .bashrc
    export ANDROID_NDK=/home/bpetersen/android-ndk-r...
    export PATH=$PATH:$ANDROID_NDK

The last two steps may be omitted by using the new Android Studio NDK options, however, thus far, we have not found the time to do so.

Credits

The user interface classes are based on the Signal messenger.

License

Licensed under the GPLv3, see LICENSE file for details.

Copyright © 2017-2019 Delta Chat contributors