Dr. Sbaitso is one of our newer demos. We wrote it for a workshop at JavaZone a couple of years ago and it
proved to be an excellent tutorial on many complex abilities of Codename One. It captures images from the
camera, rounds them, does dynamic search with a chat like bubble interface…
But the coolest part is the speech synthesis…
It uses native interfaces to access the text-to-speech capabilities of the device and "says" what the "doctor" is
saying. This both demonstrates native access and the rather cool TTS functionality.
What’s to Improve?
The demo is already so good and relatively terse, there isn’t much to improve about it.
We naturally updated it to Java 8 and the newer terse syntax which cleaned up a bit of the UI. We also replaced
the next command with an arrow material design icon which is more attractive…
the Chrome browser!
This works really well and runs very smoothly on my desktop, it’s not ideal because speech synthesis isn’t
widely supported by browsers and I wasn’t able to get it to work on firefox or any other browser. But it’s still
This pretty much shows off the benefit of having a native framework vs. the pain of web fragmentation…