Sample code for creating a 360 video player on Android. Creates an OpenGL ES scene that renders a sphere textured with video frames from MediaPlayer playback. Does not use the NDK. This is a simple example of the core elements of 360 video rendering and is not intended to be production quality code. The code may be unstable. This is won't be maintained.
http://stackoverflow.com/questions/39058726/how-to-add-media-control-buttons-menu-selected-by-moving-head-in-360-video-playe