Fork us on GitHub

Questions of the Week 30

Exciting week with more to come and new plugin update!
Questions of the Week 30

Questions of the Week 30

30 is probably the perfect time to stop with Roman numerals…​ We don’t want to give search engines the wrong idea.
This has been a really busy week with the new Phoenix demo and quite a few other developments. October is finally over and we are all back home from vacations & travels. We are still in "recovery mode" but looking at the pipeline we have pretty exciting things coming up!

Chen has made huge strides with the new GUI builder, to such an extent that we decided to release a plugin update and not just a regular update. We’ll write more next week about some of the changes that are included in this update.

On stack overflow things were as usual:

How to simulate click/tap in Codename One?

Generally this sort of code should work fine unless something odd happens or a special case…​

DNS problems in Codename One

This is quite misleading, it turns out that this is just another case of confusion over Apples strict HTTPS policy

Make Codename One text area full width

When changing style values it is crucial to do this in both the selected and unselected modes

Button from an iframe in WebBrowser does not work

Setting properties for browser options in a device dependent and we allow doing that to configure quite a few features on Android/iOS

New Gui does not accept placement “Right” on a command

This was a bug that Chen solved really quick, please report GUI builder bugs otherwise we can’t possibly refine the tool

Dragging connected Lines together

This was pretty unclear to me, it turns out the question was about multi-touch…​

Picker & GUI Builder, how to set the type

Since the type property for picker objects are not exposed in the GUI Builder, what’s the proper way to set the type via code for a picker object placed using the GUI Builder? I’ve tried doing so …​

Received exception: SSL handshake failed

Server certificates and JavaSE are pretty confusing

No animation with snapToGrid scrolling and tensileDragEnabled set to false

I’m not so sure why this would happen but if my suggested workaround "works" then we might be able to fix this

The codenameon demos under netbean 8.2 do not work

This was a regression in the NetBeans plugin. We fixed it in recent updates and also mention a workaround in the post

Codename One Issue publishing ios 64 bit app on store

I’m still not sure why he was getting this, we generate a 64+32 bit fat binary for appstore builds

ImageViewer produce blank image on ipad but work fine on android and simulator

These things usually happen due to corrupt images often due to assumptions about the behavior of InputStream that are misplaced

How do I change the style of a floatingactionbutton?

As luck would have it we just released an extensive demo where we styled it a lot. We also enhanced its style-ability quite a bit this week…​

Speech Recognition simple example on Android in Codename One

Most such issues (this one include) are due to permission problems

Jar size 50MB limit

I explained here why we set the limit at 50mb. Turns out that in this case it helped pinpoint a developer error

Select an Audio File from File System

This is much easier now with the new file picker cn1lib from Steve

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.