sample codes about android apps