Navigating the Mobile App Development Landscape
You keep hearing about user trends towards mobile devices, your 10-year old knows how to use your fancy new iPad better than you do, and so you figure that your business should also get on board and have its own mobile app. Of course, if your company is quite specialized and interacts with a niche audience mostly offline, it’s quite possible that you don’t really need a mobile app. If you make the caps that go on toothpaste tubes, I’m not sure an app would do all that much for you. But, as more and more people start to access the internet from their smartphones, and our lives become ever more synched across all our digital devices, for many businesses having a mobile app is a great way of connecting them to their target audience. Case in point - when I want to make a reservation at my favorite local restaurant, do I look up their number and call, hoping to get through? Nope, I hop on their mobile app, see what times are available and book my table. I can also see how many people they have on their wait list. Now, if only the app allowed me to pre-order a glass of Merlot to be ready for me when I got there! As a business contemplating hiring a company to build a mobile app, the landscape can be confusing, and sometimes even scary as it can often mean a huge investment of time and money. You hear talk of iOS, Android, Symbian, webOS, and people ask you if you’re going native or with web technologies. Going native? No, it doesn’t mean sporting a loincloth, face paint, and a spear... it refers, rather, to a fundamental decision on which direction to take your mobile app development. There is no right answer, rather pros and cons to each path which you will need to evaluate against your specific business needs.
Let Me Count the Ways...
It is often assumed that there are two ways to mobile app development: web apps or native apps. In fact there are more like four:
1. Native Apps
“Native” in this case refers to building an app in a device’s native programming language. For Apple iOS devices this means Objective-C, and for Android it’s Java. Native apps are typically fast, reliable, and can access all the bells and whistles of the device’s hardware (camera, accelerometer, compass, etc). Because of this increased performance, mobile games are usually built as native apps. It also means, though, that your app is tied to the platform it is built for. An iOS app, for example, won’t run on an Android device without first re-coding the entire app to Java.
2. Web Apps
3. Platform-specific Web App
This is a web app which is specifically designed for certain mobile devices, such as smartphones running iOS or Android. Less focus is placed on how the app looks on all mobile devices, and emphasis is placed on making the web app look like a native app as much as possible.
4. Hybrid App
Some people argue that a hybrid app is a native app, but I still think it’s important to make a distinction. A hybrid app is built using web technologies (you start by building a web app) and then wrap it in a platform-specific shell that allows the app to be installed just like a native app (and sold/accessed through the device’s app store). PhoneGap is an example of one of the frameworks that allows you take a web app and turn it into a native app for iOS, Android, BlackBerry, Windows 7, WebOS, Symbian and more. The hybrid frameworks typically have APIs as well which allow you to access the device’s hardware and features that are locked out from the browser (camera, accelerometer, contacts, etc).
At first glance you might be thinking that hybrid is the way to go. After all, it seems to offer the best of both worlds, or at least the best compromise between development costs and distribution (i.e. a single foundational code base across multiple platforms). Alas, it’s not quite so simple. Let’s break down some of the pros and cons for native, web, and hybrid apps to help you make a decision that’s right for your company. You will see that each direction has its own set of pros and cons, and the direction you take should be more about matching the technology with your business requirements. Native (when speed matters)Pros:
- Better performance (at least for now), which means snappier animations, transitions, and faster load times. The performance difference between native and web apps is even more pronounced on slower devices (e.g. iPhone 3G running iOS4).
- Can store more data offline.
- Can be featured and searched for in the app store.
- Full access to the device’s hardware and OS features (camera, accelerometer, GPS, contacts, compass, push notifications, etc).
- Implicit installation of an app icon to the device’s home screen. On iOS devices you can add any web app to your home screen, but it’s a manual process.
- The App Store handles purchase transactions on your behalf.
- More expensive to build, even for a single platform. Build costs increase significantly for each new platform that is targeted.
- Because the codebase needs to be re-worked for each OS, the time to build an app for multiple devices can also be quite involved.
- Your app must be accessed through the device’s app store, which has two important considerations: your app must go through an approval process (which can be lengthy and arbitrary), and if your app generates revenue you must share a percentage with the store (30% for Apple’s App Store, including in-app purchases).
- App updates must go through a new approval process each time.
Web (write once, run everywhere)Pros:
- A single codebase which can be accessed by any browser-enabled mobile device.
- No approval process needed, and updates to the app can happen instantaneously.
- No revenue sharing with an app store.
- Using web technologies means interpreted code (as opposed to compiled code for native apps), which some people believe means web apps will always be slower than native apps.
- Don’t have full access to all the methods exposed by the device’s operating system, meaning you are limited to the APIs made available by the browser. As it stands now in Mobile Safari, this means no camera, compass, video capture, microphone, user contacts, file uploading or push/local notifications.
- Can’t be found on the app store. If you’re lucky enough to be a featured app in Apple’s store, for example, it is a huge marketing boost.
- If you are looking to generate revenue, it’s up to you to build a commerce model.
Hybrid (fully loaded with better fuel economy)Pros:
- Allows you to capitalize on the single code base offered by web technologies yet still market your killer app in each of the major mobile app stores.
- Gives you APIs to access some, if not all, of the features locked out of the browser, such as camera, compass, contacts. For reference, here is PhoneGap’s list of supported features: phonegap.com/about/features.
- Purchases are managed by the App Store.
- Still subject to the store’s approval process and revenue sharing. No instant updating.
An Informed Decision
As you can see from the above list of pros and cons, the decision of which technology to go with is often dependent on what your app will need to do. Be clear on what your business objectives are, and see which method serves them best. Right now, given the state of web app performance, if you are building a game with fancy graphics, you are probably going to need to go native. If your app is on the simpler side of things, like an app that reminds people of their anniversary (and scolds you if you forget), then perhaps a web app is all that you need.
Back to the Future
Mobile Apps for Everyone!
This is an exciting time for mobile and web developers. While I don’t foresee native apps being completely replaced by web apps, I believe that we will continue to see an increasing number of businesses look to web apps for a more cost and time effective solution when considering mobile app development. And who knows, maybe your toothpaste cap manufacturing company could use a mobile app after all!