3 ms·
Java on iPhone,Android,Win,RIM and Desktop
- programminggeek 12y agoWell, 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.
- chii 12y agoIt's a bit confusing - from looking at the tutorial videos in the docs, it seems you have to purchase the server in order to actually make the real build for a device, but the site doesn't really clearly state this. I'd stick with robovm for cross platform capabilities, or, use Haxe.
- fishyfishy 12y agoThat's not true, you can build apps for free. Codename One has a build server on the cloud, which simplifies the whole build env for the developer.(you can use a Win machine to develop for iPhone). The uses of this build machine has free account and paid accounts.
- camus2 12y agoCan I build applications for free from start to finish directly on my computer without any internet connection? yes or no?
- invalidname 12y agoNot officially. But you can look at this http://sjhannah.com/blog/?p=228 http://sjhannah.com/blog/?p=228
- zura 12y agoPlease consider adding a support of building locally, without your servers. E.g. when you're already on mac, with iOS SDK and Android SDK set up, you shouldn't need to use some online services.
- nick_dm 12y agoTheir FAQ (http://www.codenameone.com/faq.html http://www.codenameone.com/faq.html) claims that it is possible, though a little complicated (and they'll only provide support if you're on their enterprise plan).
- invalidname 12y ago
- zura 12y agoI wander how does it compare with Qt.
- invalidname 12y agoActually not that far from it. Although its in Java so its higher level abstraction and its more WORA oriented in the Java style. More like Swing.
- bmoresbest55 12y agoSo what is the difference between Codename One and libGDX? Gaming focus?
- fishyfishy 12y agowell, yes this is one of the major differences
- deleted 12y ago[deleted]