70.3 Creating the Video Playback Example
The remainder of this chapter will create an example application intended to use the VideoView and MediaController classes to play an MPEG-4 video file.
Select the Create New Project quick start option from the welcome screen and, within the resulting new project dialog, choose the Empty Activity template before clicking on the Next button.
Enter VideoPlayer into the Name field and specify com.ebookfrenzy.videoplayer as the package name. Before clicking on the Finish button, change the Minimum API level setting to API 26: Android 8.0 (Oreo) and the Language menu to Java. Use the steps in section 11.8 Migrating a Project to View Binding to enable view binding for the project.