Write an app that launches the camera (automatically, not button) to take a photo when it starts, and if that is successful launches the camera to take a video (if the photo or video is not taken the app finishes). When both a photo and a video have been taken a new activity starts to simultaneously show the photo and play the video. When the video ends the display activity ends and the app finishes with a Toast.
Use best practices for all aspects of the code!