Codename One apps perform like native apps, because they are real native apps.
They are statically compiled into native binaries using the target platform’s official build tools.
On platforms that do not support Java natively, such as iOS, the app’s JVM bytecode is first transpiled into a form that the native build tools will accept. On iOS, the app’s JVM bytecode is transformed into C source code, in a real Xcode project.
On Android, since Java is supported natively, no such transformation is necessary. The app’s source code is bundled directly into an Android studio gradle project, which can be built directly using the Android SDK build tools.
The figure below shows the build process for each supported platform.
Translate JVM bytecode to .dll
(Translate JVM bytecode to JavaScript source)
(Translate JVM bytecode to C-Source)
(.appx)
(.exe)
(.app)
(.war or .html)
(.apk)
(.ipa)
Windows App Store
Mac App Store
Google Play Store
iOS App Store
Translate JVM bytecode to .dll
(.appx)
Windows App Store
(.exe)
(.app)
Mac App Store
(Translate JVM bytecode to JavaScript source)
(.war or .html)
(.app)
Google Play Store
(Translate JVM bytecode to C-Source)
(.ipa)
iOS App Store
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