Developing apps with Apache Cordova
Scarcity
The Cordova support ends here, however. In particular, the framework was not designed to offer any user-interface components or widgets that would allow you to click together a user interface quickly. Only simple dialog windows for warnings, error messages, and simple queries are available (via the cordova-plugin-dialogs
plugin).
For further UI elements (e.g., switching pages), you must either implement them yourself or rely on JavaScript libraries such as the popular jQuery UI [10]. However, a disadvantageous side effect is that the application will not be able to assume the appearance of the target platform.
Another disadvantage for pure Linux users: Because Cordova requires the SDKs for each respective target platform, iOS apps can only be created and tested on OS X. Therefore, if you want to develop for iPhones, you need an Apple computer. The same applies to Windows Phone and a Windows computer.
Furthermore, app developers must set up and maintain the SDKs by hand, as well as manually certifying apps such as those for the Play Store. The Cordova documentation consists only of a short tutorial, though it is still a very detailed reference [1].
Conclusion
Despite these restrictions, HTML, CSS, and JavaScript experts can get to their first app fairly quickly using Cordova. You can address the smartphone hardware in the familiar JavaScript and do not need to worry about platform differences: The same code runs on both iOS and Android.
Cordova's command-line tools abstract the individual platform SDKs from the properties, although app developers do require the relevant hardware for their installation. You must also work on the command line, implement the user interface completely independently, and retrofit numerous functions via the appropriate plugins.
If you want to create a finished app at greater speed or with just a few mouse clicks, then, you will be better served by another tool.
Infos
- Cordova: https://cordova.apache.org
- Sworkit: http://sworkit.com
- Clever Baby: http://www.mycleverbaby.com
- Ionic: http://ionicframework.com
- Adobe PhoneGap: http://phonegap.com
- Android Studio: https://developer.android.com/develop/index.html
- Node.js: https://nodejs.org
- Cordova documentation: https://cordova.apache.org/docs/en/latest/
- Apache's plugin directory: https://cordova.apache.org/plugins/
- jQuery UI: https://jqueryui.com
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.