This page provides important information for users of the Ice for Java distribution.
On this page:
Overview of Ice on Android
Ice is available for Android though the Ice for Java distribution. To develop an Ice application for Android you will need the following components:
Configuring an Android Studio project
Android Studio uses a Gradle-based build system. Using Ice requires modifying your project's
build.gradle settings file(s) to include the Ice jars. For convenience we recommend using the Ice Builder for Gradle plugin to help automate the compilation of your Slice files.
The following snippets give an example of configuring the Ice and Ice Builder for Gradle sections for an Android project.
Using the sample programs
Sample programs are available at our GitHub repository. You can browse this repository to see build and usage instructions for all supported programming languages. Simply clone this repository and use its 3.6 branch:
git clone -b 3.6 https://github.com/zeroc-ice/ice-demos.git cd ice-demos
You can then import the directory
java/Android into Android Studio.