O código fonte deste exemplo pode ser encontrado aqui: https://github.com/gomobile/sample-simpleaccelerometor ou faça o download do Intel® XDK para ver todos os exemplos de HTML5.
This is an Android* application that demonstrates the use of the class MediaCodec. The application creates VideoEngine and AudioEngine classes that make use of the Android MediaCodec class. The VideoEngine and AudioEngine classes demonstrate the dynamic creation of a default decoder, the extraction of the video and audio tracks and syncing of the two. The app also shows the default handling of stream buffers and other miscellaneous stream handling tasks.
This is an Android application that demonstrates a basic media player. It makes use of the ViewView Widget and gesture based video playback control.