5 ms·
Well, you can already build apps for Mac just using the standard JVM and iOS using http://www.robovm.com/ http://www.robovm.com/, so I'm not sure what Codename
by programminggeek 12y ago
Well, you can already build apps for Mac just using the standard JVM and iOS using http://www.robovm.com/ http://www.robovm.com/, so I'm not sure what Codename One brings to the table that you couldn't already do?
- fishyfishy 12y agoCodename One has one Java API to access all device capabilities such as:camera, gps, file system, maps and more... and it has one Java API for lightweight GUI, which allows great portability between supported platforms. robovm is good but mostly relevant for games with libgdx.
- programminggeek 12y agoOh so it's like Xamarin but for Java?
- fishyfishy 12y agosimilar, only better. In Codename One you end up with 1 java project to maintain for all supported platforms, in xamarin you end up with 2 project to maintain in c# (1 for each platform: iOS, Android)
- deskamess 12y agoAre you limited to a particular version of the jdk or can we use 7+? Re xamarin... anything they do well that you do not (yet)?
- fishyfishy 12y agoIt's a Java 5 subset, but we have plans for Java 8. Re xamarin - it's a good product targeted for c# devs
- glowstickhero 12y agoYou might want to check out Xamarin's announcement about Xamarin 3. "Xamarin.Forms is a new library that enables you to build native UIs for iOS, Android and Windows Phone from a single, shared C# codebase"
- ntherning 12y agoCodename One and RoboVM solve different use cases. If you can live with the limitations of a "common denominator" API, a UI toolkit that tries to mimic the native look and feel ala Swing and a limited subset of Java 5, Codename One is great since it allows you to use a single codebase and deploy to many different device types. RoboVM on the other hand lets you use all the native iOS APIs from within Java and has a runtime library based on Android which limits you only to roughly the Java 6 APIs. As long as you structure your code properly RoboVM makes it possible to reuse large portions of your code between the Android and iOS versions of your app. So if you'd rather build an app that is truly native with a native UI and still want to be able to share code with Android RoboVM may be a better fit. And it's definitely not just for games even though libgdx+RoboVM is a killer combination.
- invalidname 12y agoCodename One predated RoboVM by more than a year. Its a WORA solution whereis RoboVM Java for iPhone more like a tool to replace Objective-C.