Runtime.exec is pretty familiar to Java developers (and the process builder in later versions), however for mobile applications we usually don’t have access to an executable. The solution is to invoke a URL which is bound to a particular application, this works rather well assuming the application is installed and you can activate quite a … Can Execute
Before we launched our recent promotion for JavaOne tickets with Java Code Geeks we sought out guides/tutorials about running such a promotion, unfortunately we didn’t find anything useful so we had to improvise and work by instinct. This post will also cover some of the statistical results about the Java community so if this is … Developer Promotion – practical guide & statistics about the Java ecosystem
Over the weekend Steve posted a really cool demo showing off some of his work on the new iOS graphics pipeline, specifically the perspective transform. Perspective transform allows us to rotate elements in a 3 dimensional space to create pretty nifty effects. Right now this is only supported on iOS devices (since Java SE doesn’t … Perspective Transform
Codename One inherited basic layout concepts from Swing which in turn inherited them from AWT. We modernized and adapted them quite a bit by removing various behaviors and adding others, but a key to sizing and placing components is the preferred size. Every component calculates its own preferred size in the calcPreferredSize() method. This calculation … Same Size & Back Swipe
Would you like to go to JavaOne ? Besides being a cool conference its loads of fun with shows and events thru-out the city. Now you have a chance, Codename One and Java Code Geeks have teamed up to give away TWO full passes (worth $1,650 each) and to win all you need to … Codename One & Java Code Geeks are giving away free JavaOne Tickets (worth $3,300)!
We’ve been spending an excessive amount of time tuning our garbage collection and memory management of the new iOS VM based on profiler output. This is one of the cool features in the approach we took (translating Java to C rather than going directly to machine code), we can use Apple’s nifty profiling tools to … Garbage Collection
When we introduced the idea of the EDT from Swing (and pretty much any modern UI toolkit) into what eventually became Codename One, one of the chief benefits was modal dialogs. Its the ability to block the executing thread in order to ask the user a question, that’s a very powerful tool for a developer. … Not A Dialog – Again
Some features we have in Codename One are a bit hidden behind the surface, we add them as a patch for a developer and don’t have the proper place to document them so they get buried. Case in point is the ability in Android to use the search magnifier icon instead of the done button. … Keyboard Keys & Android Pipeline
We neglected to mention in our last post about the new graphics pipeline that it was authored by Steve Hannah who did a splendid job there! He just updated the shaders for the implementation to be far more efficient bringing performance back to the current levels. The true value of this architecture is that now … Performance & Map Taps
Finally the new graphics pipeline is starting to trickle into the JavaSE port and the iOS port & once we iron those two out it should make its way into the Android port. With this in place we are finally at a point of functionality similar to JavaFX but without the overhead and performance implications … New Graphics Pipeline
One of the things we’ve been missing is a simple “navigate” feature that allows you to launch the devices native navigation software with a fixed destination. This was relatively simple to hack together using Display.execute but that’s not the same as an official API. Chen just added two methods to Display that should really help … Navigate & Faster Builds
Simplified webservice access has long been on our todo list and we now finally have a tool that significantly simplifies server communications in Codename One to a method call level. We just posted a How Do I? video for this feature and will launch it with the plugin update next week. The feature is remarkably … Webservice Wizard
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