android: update main function from upstream
android: mention GLES in the instructions