Difference between revisions of "HICN/Android"

From fd.io
Jump to: navigation, search
(Build)
 
Line 3: Line 3:
 
[[File:Google_Play_Store.png|220px|link=https://play.google.com/store/apps/developer?id=ICN+Team]]
 
[[File:Google_Play_Store.png|220px|link=https://play.google.com/store/apps/developer?id=ICN+Team]]
  
==Build==
+
==Automatic Build==
 +
Several docker based builders are available on GitHub https://github.com/icn-team/android-build
 +
 
 +
* A generic Android SDK/NDK build environment https://github.com/icn-team/android-build/packages/39336 (re-built once every 6 months)
 +
* A container with native dependencies built in, such as OpenSSL, libevent, asio (built once every 6 months).
 +
* A container with native hicn code distribution built in (packet forwarder, interface manager, transport libraries).
 +
 
 +
The front-end is available in https://github.com/icn-team/android-sdk and built using GitHub actions once a day.
 +
Software is distributed under GitHub releases as apks: https://github.com/icn-team/android-sdk/releases
 +
 
 +
 
 +
 
 +
==Manual Build==
 
===Build hICN===
 
===Build hICN===
 
The following guide is tested on Ubuntu and macOS
 
The following guide is tested on Ubuntu and macOS

Latest revision as of 10:00, 4 November 2019

Google Play Store

Google Play Store.png

Automatic Build

Several docker based builders are available on GitHub https://github.com/icn-team/android-build

  • A generic Android SDK/NDK build environment https://github.com/icn-team/android-build/packages/39336 (re-built once every 6 months)
  • A container with native dependencies built in, such as OpenSSL, libevent, asio (built once every 6 months).
  • A container with native hicn code distribution built in (packet forwarder, interface manager, transport libraries).

The front-end is available in https://github.com/icn-team/android-sdk and built using GitHub actions once a day. Software is distributed under GitHub releases as apks: https://github.com/icn-team/android-sdk/releases


Manual Build

Build hICN

The following guide is tested on Ubuntu and macOS

$ git clone https://github.com/icn-team/android-sdk.git
$ cd android-sdk
$ export ANDROID_ARCH="arm64"
$ make all
$ export ANDROID_ARCH="x86"
$ make all

# The hICN Distillery software will be installed in android-sdk/usr_aarch64 and android-sdk/usr_i686

Build and Install Hybrid ICN Network Service for Android App

make android_hicnforwarder
# Optionally, uninstall previous version (to avoid signature mismatch issues)
adb uninstall com.cisco.hicn.forwarder
adb install -r ./HicnForwarderAndroid/app/build/outputs/apk/release/HicnForwarderAndroid.apk

Build and Install Hybrid ICN SpeedTest & Test for Android App

make android_hicntools
adb install -r ./app/build/outputs/apk/release/hICN_Tools.apk

Build and Install Viper ABR video player for Android App

make android_viper
adb install -r build_aarch64/viper/hicn-viper-arm64_v8a/build/outputs/apk/hicn-viper-arm64_v8a-release-signed.apk

Further details are available in the following link: Android Sdk