Cross Platform Mobile App Development
Recently I switched from iPhone to Nexus S. This was a major transition as I moved away from iOS to Android. There were few Apps and Games which I liked a lot in my iPhone and naturally after I started using my Nexus S, I tried searching for those Apps and Games in Android Market, as I never wanted to be departed from those. Like me there are many such users who have a similar instinct. I was surprised to find the exact same games and Apps for Android as I was using in my iPhone. This made me more inquisitive to find out how these little things are developed to provide the same user experience and feel in various platforms.
Generally the marketplace for any Smart Phone platform contains the native apps for those platforms. And these native Apps are notoriously known to have compatible issues. So any native App developed for one platform will work only in that platform. So in order to have same Apps or Games available in all the Smart Phone platforms same App needs to be developed separately for each platform. This is not only time consuming but also requires additional overheads. To address this, another category of App called Hybrid Apps took birth. The Hybrid Apps successfully bridged the gap between Native App and Web App and also solved the major issue of cross platform compatibility.
Cross Platform App development methodology
As technology is constantly evolving, we have a plethora of tools and frameworks at our expense to build real cross platform applications which can even access most of the native features of the device in which it will run.
Another method in which we can develop cross platform application is by using the virtual machine technique. In this method, the framework used will provide an API as well as the runtime environment for the app. The main disadvantage of this method is slower performance.
Cross Platform Frameworks
There are lots of cross platform framework available, few of them with Open Source license and few with commercial license. Some are quite powerful and some are there just for the sake of it’s existence. The most widely used and popular among them are PhoneGaap, Appaccelerator Titanium, Rhodes, Adobe Air, Sencha Touch, Jquery Mobile etc.
The table below shows which device features PhoneGap can access under different platform.
Titanium is used for both cross platform mobile application development as well as development of desktop application. It is based on the cross compilation technique we discussed above. Before the launch of Titanium mobile SDK the cross platform mobile app was a distant dream and the only way was to create same app for different platform was rebuilding the complete app from scratch for different platform. So Titanium is the pioneer in cross platform mobile app development technology. Titanium mobile SDK supports over 5000 UI elements and hardware controls thus gives a superior user experience and gives a truly native app.
Titanium is currently supported under the two most widely used platform iOS and Android and support for blackberry will be introduced soon (currently in beta). The primary advantage is much faster performance, ease of use and built in UI elements and the disadvantage is, it currently supports only a few platforms.
The table below shows access to device native features under different mobile OS platform for Titanium.
The table below shows access to device native features under different mobile OS platform for Rhodes.
The Cross platform mobile apps solve the ardent task of creating same application multiple times for multiple platforms. So this is a viable option in many cases. However it has few shortcomings like the cross platform apps are good only for presentation type of Apps, But when it involves complex Enterprise App or rich 3D games, cross platform technique is not suitable. The only option then is creating native app separately for each platform you want your application to be available. Cross platform App uses feature common to many platforms so they are not capable of device API access, hence all features of the device cannot be used. Also most of these cross platform frameworks are catering to Android and iOS, so there are lot of rooms for development for support of other platforms.
- AI & MI
- Big Data
- Buy Hours
- Data Analytics
- Data Security
- Dedicated Hiring
- Digital Buzz
- Digital Payment
- Enterprise Mobility
- Flexi Hiring Solutions
- Flexible Operation
- Hire Experts
- Home Automation
- Industry News
- Inside Indus Net
- Marketing Automation
- Mobile App
- Mobile Game
- Modern Lifestyle
- News @ Indus Net
- Social Media
- Time Management