Fork us on GitHub

Keyboard Keys & Android Pipeline

Some features we have in Codename One are a bit hidden behind...

Keyboard Keys & Android Pipeline

Some features we have in Codename One are a bit hidden behind the surface, we add them as a patch for a developer and don't have the proper place to document them so they get buried. Case in point is the ability in Android to use the search magnifier icon instead of the done button. To get that functionality you can just set a client property on the relevant text field as such:
 Display.getInstance().putClientProperty("searchField", Boolean.TRUE);

This also allows other options such as sendButton & goButton.

On an unrelated note we are now making some progress on the new Android graphics pipeline implementation which should hopefully allow us to scale our graphics further. We also made quite a few improvements to the new Codename One VM on iOS squashing quite a few bugs. However, more issues and performance penalties remain so we are still actively improving this. If you have test cases and issues specific to the VM please let us know so we can address them and move this new VM to a production quality product.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.