Working android sample