A few years back we had Codename One LIVE!
It allowed developers to preview designs built with the old GUI builder on devices. Today we’re introducing the equivalent functionality for the new GUI builder and the Codename One Build app. Cloud Connect allows you to instantly see changes from the GUI builder in the app.
You can activate Cloud Connect using the new Cloud Connect button in the latest version of the GUI builder. Once it’s activated launch Codename One Build and open the side menu, you should see a new Cloud Connect option in the side menu.
You might need to kill and relaunch the app the first time around to make that menu appear |
Check out the new How Do I video that covers the whole process.
This is a remarkably useful feature as it allows us to instantly see the nuanced impact of choices we make within the GUI builder. Small alignment or boundary choices within the tool can have a significant impact when you’re running on the device. Fonts and styles can look very different on the physical device than they do within the GUI builder.
But even more importantly, scrolling behavior and editing is impacted by design choices. E.g. in the video I made the login form scrollable. This isn’t something I thought I needed initially, but as I played with the UI on smaller devices it became apparent that this form must be scrollable. Using cloud connect saved me from the frustration of “compile → deploy → repeat”.
6 Comments
Have you had some copy & paste problem?
What do you mean?
OK, I see it now. It must have picked a command-c when I was in a different desktop… Will fix this soon.
@codenameone:disqus Good job. Without this feature, developing apps on CN1 caused quite the headache especially when one need to see how that 2mm padding looks on the real device. Definitely gonna try it out.
On other news, I am internally grateful to you and your team. I have now built 10+ apps on this great platform and I can attest that there’s nothing as good. Here’s my latest – [https://play.google.com/sto…](https://play.google.com/store/apps/details?id=com.nipelift.mobile) a carpooling app used in Kenya.
[https://uploads.disquscdn.c…](https://uploads.disquscdn.com/images/44883f83d21f28bd64f49a31a3aea15de79b17e9fd766e29e6c6e62cec67a493.png)
[https://uploads.disquscdn.c…](https://uploads.disquscdn.com/images/d89c60fd7b95fe75c34c44c8560d4eaa97ce86356bf60e34d769a5060297c1e9.png) [https://uploads.disquscdn.c…](https://uploads.disquscdn.com/images/6dff267929227c6c49f9ad3c5d152b0a0a4be99cd3b2345fa63e59516174fdc0.png) [https://uploads.disquscdn.c…](https://uploads.disquscdn.com/images/c3247feff26990bf85bbd93be5eac15edc560f73b1b2454ef7a6490685275d41.png) [https://uploads.disquscdn.c…](https://uploads.disquscdn.com/images/ab82a6862bb4d8c7762567f329b41b6249324dff497268aef3ec53b491fc311f.png)
Looks great!
Nice job!!!