super(rstc, "Math", ctx); mRes = res;
RenderScript pRS = RenderScript.create(mCtx); ScriptC_math s = new ScriptC_math(pRS); pRS.setMessageHandler(mRsMessage); s.invoke_math_test(0, 0); pRS.finish(); waitForMessage(); pRS.destroy();