J2ME Accessbility

Unfortunately, J2ME MIDP 2.0 had limited library for accessibility (Not even close). The reason why Talks doesn’t read out the canvas, because everything that painted by canvas are graphics based. For example, you can try to create your own custom text (using Canvas) to display it out on the screen and let the Talks software to read it for you. The text automatically become graphics and with no luck the Talks just ignore it.

For example: with J2ME MIDP specs, even when you try to append long string into form, the Talks only read the last sentence if the string is too long.

This is a very very very
very long sentence” <—– Only read this sentence if you are using form.

The reason why is because, text to speech software vendors read text based on cursor where it pointed at.

Because 3rd party text-to speech vendors seems to develop their application on dependent platform such as Symbian OS on Nokia phone, which use C++ basically. That means, if you want 3rd party to read everything that display on the screen. I suggest that you use Symbian_C++ and Nokia SDK to develop the apps. (Other’s words is , build an interface that looks like Nokia interface that use Symbian_C++). Symbian_C++ is much more powerful than J2ME but not as easy and straight forward like J2ME.

Whether TALKS understands which label belongs to which text field depends on whether the focus is moved correctly on both the labels and the text fields when the user navigates (e.g. by wrapping both into a CEikControlGroup and focusing that). Just having fields visually associated with text editors is not enough, as this type of screen layout is not commonly used in the standard S60 UI.

The best way to enter data into multiple fields is by using the S60 control intended for it, called CAknForm (http://wiki.forum.nokia.com/index.php/Forms_in_Symbian_c++). As this is commonly used in many places across the phone’s standard UI, e.g. for editing contact entries, TALKS is set up to support these quite well.

The other options is, i haven’t tried yet, i think it might help is do not rely on 3rd party text-to speech software. Use J2ME text-to speech optional library : http://jcp.org/en/jsr/detail?id=113. (Currently i am not sure which phones in the market can supports this library but maybe, Nokia N95 did support).


About Charles Ling
Web/Android/IPhone Developer. Very very interested in Web Architecture, Web Standard and and how to use Web to improve human social life and doing cool stuff.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: