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 … Questions of the Week 30
Last week a question came up in stackoverflow that came out quite a few times before but this time I had a better answer thanks to the round border. After giving that answer I recalled that I already wrote some code to implement badging in the FloatingActionButton but never exposed it because of some bugs… … Badging Arbitrary Components
The Phoenix theme had a FloatingActionButton with a gradient on top. This goes against the mostly flat material design spec but after looking at the design with a solid color I came to the conclusion that the designer was totally right to use a gradient in this case. Unfortunately we didn’t build that support into … Gradient and Image Background on FloatingActionButton
The Phoenix UI kit by Adrian Chiran is one of the best looking and most challenging template UI’s I had to adapt in recent history. The breadth of the design is pretty challenging but it also has some elements that are really hard to adapt across platforms in a portable way. In fact, some elements … Template – Phoenix UI
Some designs don’t work well in landscape/portrait mode and we need to adapt them to fit the orientation of the device e.g. when we have a large graphic element (icon etc.) on top/below and we no longer have room for that element. As an example check out the code below: Form hi = new Form(“Swap”, … TIP: Border Layout can Adapt to Orientation
This was a busy week with a lot of work going on under the hood especially on the new GUI builder. We are also working on a pretty cool new demo that we’ll ideally launch next week. Our release today only includes the libraries making it smaller, we would probably release a plugin update next … Questions of the Week XXIX
Codename One’s resource files contain a lot of details but it’s sometimes hard to add elements into the resource file automatically. Recently I wanted to add a better way to add images directly in the new GUI builder. I considered several options and eventually decided to operate the designer tool automatically to do the “heavy … Using the Designers Command Line Options
I’ve recently noticed that distribution build sizes were identical for appstore and debug builds which wasn’t the case before the xcode 7.x migration we did a while back. This shouldn’t be the case as it indicates that the standard debug builds include both the 64bit and 32bit code which is redundant during debugging. We made … Faster iOS Builds, GUI Builder Improvements & SQL Updates
Both TechCrunch & Engaget report that surface sold well during the last quarter when contrasting it’s sales of 926M to 4.9B iPad sales. But the number is a bit misleading as the surface is really comparable to the iPad pro line in terms of pricing/target market and I would guess the sales are very close … Surface Sales and Java Adware
This isn’t a programming tip, but since we discussed photoshop quite a few times before it’s probably an important subject. Especially because we made this exact mistake in those tutorials and I’ve spent the better part of the day tracking this with no result… I’ve worked on extracting UI’s from PSD files for a while … TIP: Don't use File – Save As in Photoshop, only use Export
Unlike last week this has mostly been a calm week with the exception of some downtime we had on the certificate wizard (Apple tightened TLS access) there was hardly anything major going on. We are focusing a lot of our efforts on refining our offering on all fronts e.g. better demos, themes, docs, compatibility and … Questions of the Week XXVIII
I explained why we don’t support the full Java API (and the difficulties involved) not so long ago. The logic behind this is solid. However, the utility of porting existing Java code to Codename One is also with a lot of merit. We try to strike a balance between portability, compatibility to the Java API … File and URL for Better Java Mobile Compatibility
Codename One LTD © 2022. All Rights Reserved.
The Java® logo and name are trademarks of Oracle corp. Facebook and the Facebook logo are trademarks of Facebook. Uber and the Uber logo are trademarks of Uber Corp.
Terms of Use