O'Reilly logo

Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps by Mark Sherman, Derek Walter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Video

You can add the Video Player component from the Designer and then enable it through the Blocks Editor. When the application is run, the player shows videos in a rectangular frame inside the app.

When the user touches the video, a set of controls appears, much like the functionality of YouTube or similar video-playing apps on Android. Video files must be in specific formats, such as .wmv.

When running the applications, the video player displays in a frame onscreen. If the user touches it, controls appear, such as play/pause, skip ahead, or skip backward. The player can also be controlled with Start, Pause, or SeekTo blocks.

All files should be in one of the Android-supported media formats, such as .mp4 or .wmv.

App Inventor permits only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required