Android sample codes