Our post today talks about things to consider while making Android Apps with Cordova in an easy and effective way:
Plugins: The release of Cordova 3.0 brought with it a much lighter core due to the absence of basic API features. Now of course API features didn’t disappear, rather they are now separately install able as plugins. The core set of Plugins will allow you to access the Battery, Camera, Dialog, Geo Location and more. Third Party plugins can provide you the extra functionality for the app development.
Offline Support: What is your app going to do when there is no internet connection? You should consider the user-experience for your app when no internet connection is available. Things that might not work while offline include analytic, and file access/transfer (ajax or otherwise). One can use “Cordova Network/Connection” plugin to detect the connection type and to handle online and offline detection.
XCode and Eclipse?: IDE Eclipse is used for developing Android Apps. This is very intuitive and easy to code in. But knowledge of Eclipse is not just essential for Android App Development. You should have the knowledge of XCode and Eclipse both. For example, you can hide the status bar on the launch of App, But do you want to disable Universal Application status? XCode will be a great help in this regard.
Test the Application: Emulators and Simulators can help you identify the some major issues, but nothing can beats having a real device for testing. Debugging Cordova applications can sometimes be a challenge, but if you are familiar with Chrome and Safari Dev Tools it is much easier.
Browser Testing: Testing on browser
Actual Testing: Physical testing on mobile phones. Note: Android SDK is required to do the Actual Testing on the Smart Phones.
So, what kind of apps do you recommend that can be built using Cordova?
With the help of Cordova you can develop Apps for Search & Listing, Directory, Social Networking etc. Cordova is not recommended for those apps which require a lot of native phone features, or apps which are used in offline mode, e.g. Gaming Apps, Image Editing Apps, E-Book Readers etc.