I developed software for my cerebral palsy girl. She uses it in our tablet to "chat" with me and my wife.
This is pretty good. This is a bunch of ImageButtons created on the fly. I mean just bloating the XML code.
Here is an example image:

I created this only for my daughter.
I have a friend with amyotrophic lateral sclerosis (ALS). This is a terrible degenerative disease. It can only move one finger, and I would like to make it possible to use the same software.
To do this, I have to "iterate" through each ImageButton, and when he wants to concentrate, he will "click" in the mouse to activate it.
I tried using what is described here:
http://developer.android.com/guide/topics/ui/accessibility/apps.html
But that did not work. Any ideas how to do this? This would be REALLY helpful for my friend ALS.
This is how I create ImageButtons:
btn = (ImageButton) LayoutInflater.from( getBaseContext()).inflate( R.layout.imagebuttonstyle, fl, false);
I just use the OnTouch event to handle clicks. Imagebuttonstyle is simply an XML file declaring ImageButton.
So what do you guys think? How can I iterate over elements, ensuring that when the one he wants is in focus, it will be activated when my friend clicks on the mouse? I can easily navigate through all the elements, but this does not guarantee that this element will be activated with his mouse.
Any help is much appreciated!