MainActivity sample.