ALOY-895 android support

Android version of the code sample