First thing that comes to mind:

int gm0[8];
int gm1[8];
...
gm0[i]++;
...
gm1[i]++;

There is a minor issue because Java uses zero-based array indexing, hence
the int[8] so the rest of your code doesn't need refactoring.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to