Updated skeleton code for OpenSLES.