Ported Sample 7 to Android