It’s been quite a busy week with many changes and updates, some of those were in line for a couple of tools we plan to introduce over the next few weeks. This week I also placed an interesting thread from the discussion group. Normally I try to keep this focused on stackoverflow but if a good thread comes up in the discussion group that raises an interesting topic I think this is a good place for it too.
The removeCommand is not working for the toolbar commands
Removing a command from the
Toolbar requires that we revalidate the layout, that isn’t as intuitive sometimes but it helps when more than one command is changed.
How to verify that X509TrustManager is correctly implemented on iOS/Android
We don’t hide or change the default SSL behavior in mobile OS’s at this time, you can do it if you want to go into the native functionality but the default should be reasonably secure.
What are the differences between CodenameOne getCurrentLocation methods
This question didn’t get much of an answer as much as "for your use case you should use neither"…
Cross-platform Project and Techniques
Dimitar raised a point that he considered about missing platform specific details in our documentation, this isn’t something that’s missing in the documentation as much as a conceptual difference between Codename One and tools such as Xamarin/React Native etc…
He raised some interesting points that highlight the advantages and disadvantages of our approach to portability:
Data upload works on Android phone but fails on Iphone 4
While I answered that one the submitter pretty much investigated the whole thing on his own and mostly used stack overflow to line up his thought process. That’s a good way to ask a question…
How intercept the “Cancel” and “OK” actions belonging to the native IOS picker component?
One of the problems with native widgets is that they differ so much both in subtle and obvious ways. I can’t think of a component that gave us more grief than the picker.
Warning paint queue size exceeded, please watch the amount of repaint calls Error
This is a warning call we wrote when we coded LWUIT back in 2007. It was one of those failsafe "no one will ever get this warning" things…
Animate a gif file only once
We don’t use a lot of animated gifs in our apps and focus more on layout animations/transitions but we know quite a few people still use such effects and might find this useful.
Message.setAttachment is silently failing
It’s sometimes hard to track edge case device specific behaviors especially with the shifting ground of mobile OS targets.
Different response codes between ipa and source code
Building on our servers vs. building from the source code they generate should be nearly identical but we can’t guarantee that because our server OS/xcode versions might differ.
How to set FacebookUrlSchemeSuffix build hint
Some things we just never tried to do on our own so it’s great to find out that it’s possible to have two separate accounts with the same facebook app.