To minimise memory consumption and lesser program crashes I would recommend you to do least coding in the drawFrame() function.....
Also (this one I got from the Physics Example)
(Although doesnt apply to you as your's is not a Activity)
int pid = android.os.Process.myPid();
android.os.Process.killprocess(pid);
Should do this on destroy() & if possible in onPause()