Fork us on GitHub

Questions of the Week 35

Getting ready for 3.6 with infrastructure work
Questions of the Week 35

Questions of the Week 35

This week has been a bit slow with features and external progress as we’ve started to focus on the issues for the January release of 3.6. During December we’ll probably pause blogging between December 22nd and January 2nd as it would probably get lost to the ether for most of our audience.

I’ll still be working and at least some of our team will, but we’ll focus on support and features/issues which will give us a lot to write about when we get back.

Todays update doesn’t include anything exceptional just a couple of new features and fixes.

Stuart Brand asks why the enter key doesn’t show on the text field but this is somewhat misleading…​ Which is why you must always ask with your intention.

At first I thought he meant the standard return key so my answer reflected that, newline isn’t on by default with TextField. But it seems he was looking for a "done" key which you can determine for Android using the client properties to pass a hint to the text field.

Another wrong path here was the mixed terminology of "key". In Codename One keys refer to physical keys and not virtual keys

Mamatha Damuluri asks how one would know if an app is minimized. Tim Weber provided a great answer for that. Lifecycle is one the harder things in mobile development. We tried to simplify it as much as possible but there are always pitfalls. Check out the first chapter of the developer guide when we cover some of these concepts…​

tizbn asked how to set the icon gap variable within a command this is pretty easy but a lot of people might not know the answer which again involves a client property.

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.