ALOY-895 test case update to include Android

Change the sample code to have it runnable on Android too.