Fixed sample for Android.