There is another way, using Path's.
Using java Syntax Highlighting
Path path = new Path();
path.addRect(new RectF(xPos + bmOffset[currBodyState], yPos, xPos + bmOffset[currBodyState]+90, yPos+114), Path.Direction.CW);
canvas.drawBitmap(bmBody, xPos , yPos, null);
Parsed in 0.031 seconds, using GeSHi
This way only the portion of the bitmap defined in "new RectF()" will be displayed, and you'd have to iterate it yourself somehow. I haven't gotten this solution exactly working, but currently it does display a different frame per "tick", but ihave not got the positioning right.
Have you found a solution?
Yes, i have solution - i ported j2me classes to android. Unfortunally, they are
copyrighted so i cannot open they. But in next 3-4 weeks ill write new open
source classes implementation and spritemaker support tool.