What is Mobile Development?

One of the most intriguing areas of software development has always been mobile development.

Why?

Because mobile development presents a pretty unique opportunity for a one-person development team to build an actual, usable, meaningful app end-to-end in a relatively short period of time.

Mobile development also represents an entrepreneurial opportunity which is well within most programmers’ reach.

Not to say that an ambitious software developer couldn’t build a web application or desktop application by themselves, but mobile development is so much more accessible because mobile apps are expected to be small and singular in purpose.

Even in the gaming world, mobile applications can be a throwback to earlier, simpler times before 3D graphics and humongous code bases.

Retro-style games from the 8-bit and 16-bit era are somehow acceptable and even endeared on a mobile phone or tablet, where on other platforms they aren’t nearly as wide accepted.

However, mobile developments represent more than just an opportunity for the solo-developer to build their own project — it’s arguably the future of development, as mobile devices are becoming larger and larger parts of our lives.

What Is Mobile Development?

Результат пошуку зображень за запитом "mobile development"

Let’s start out by defining exactly what mobile development is — it’s not as obvious as it seems.

Mobile development isn’t just about building phone apps, although that is certainly a large part of it.

Mobile development is doing any kind of development for any kind of mobile device.

Somewhat of a rhetorical definition, but stay with me here.

What I mean by this statement is that mobile development encompases developing apps for phones, tablets, smart watches, and all other kinds of wearable devices which run some kind of mobile operating system.

It also doesn’t necessarily mean developing purely mobile applications, since even web developers today have to think about how their applications are going to be used and accessed on a mobile device.

Major Mobile Development Platforms

Throughout computing history, there have actually been quite a few different mobile application development platforms, but until recently, mobile development had not taken the limelight and no dominant platforms had existed.

That all changed with the introduction of the iPhone back in 2007.

Since then, many mobile experiments have flourished for some time and then died on the vine.

Windows CE seemed so promising, but they just couldn’t get it right.

Blackberry looked like it was going to dominate the world, and perhaps it did for a time.

But today there are two main contenders, and then there’s the rest.

iOSiOs

iOS is quite arguably the “big dog” when it comes to major mobile development platforms, partially because it was the platform that finally brought mobile development into the modern day and age by completely transforming the idea of a mobile device and mobile software.

iOS is, of course, developed by Apple, and it runs exclusively on Apple products.

At the time of this writing, iOS runs on iPhones, iPods, iPads, Apple Watches, and Apple TV, but I expect there will be more devices which will run iOS in the future.

iOS at its core is very Unix-like; it is based on Darwin (BSD) and OS X.

It shares some important frameworks with OS X, and its user interface is based on Apple’s Cocoa UI, which is used in OS X applications, but has been modified and redesigned for touch devices and called Cocoa Touch.

Apple provides iOS developers with several native tools and libraries to develop iOS applications, and, although you don’t need to use Apple’s development tools to build your apps, you do have to have a Mac running OS X to build your application.

iOS applications are typically built utilizing either Objective-C or the now more popular development language for the platform, Swift.

AndroidРезультат пошуку зображень за запитом "mobile development"

If it’s not iOS, it’s probably Android or both.

Android is the other dominant player in this space.

Android was a little later to the game, first being released in September 2008, almost a year later than iOS, but it has still managed to gain a pretty large share of the mobile market.

Technically, Android is the mobile OS with the largest, most dominant share of the market, weighing in at around an 80 percent share compared to iOS’s 18 percent share.

Those numbers are a bit deceiving since Android is a fragmented market, consisting of many different devices made by different manufacturers, running different versions of the Android operating system.

That is the primary difference between iOS and Android.

Android, backed by Google, is open.

iOS, backed by Apple, is not.

Anyone can build an Android device, and it is designed to run on a variety of different hardware platforms and devices with very different form factors and capabilities.

iOS is designed to run, and only runs on, a specific set of Apple devices.

Android is based on the Linux kernel, and the source code for Android is released as open source by Google.

Like Apple, Google provides some native tools for Android development, but again, you aren’t required to use them.

The native development platform for Android OS application is Java.

Others

Everyone else left in the mobile OS market shares a measly, less than 2 percent share of the overall market.

Of the remainders, Windows and Blackberry are probably the largest, but still mostly inconsequential.

It’s probably a matter of time before both of those mobile platforms completely disappear.

Because of their small market-share, I won’t even talk about the others since I wouldn’t encourage you to waste your time investing in any platform that has an extremely high chance of dying, but I’ll say that there are some options for developing cross-platform mobile applications that will allow you to develop for these marginal competitors at virtually no extra cost.

If you are going to develop a mobile application and become a mobile app developer, choose iOS or Android.

How Mobile Development Is Done

Результат пошуку зображень за запитом "mobile development"

When iOS and Android first came out, if you wanted to learn how to develop mobile applications for both platforms, you learned how to use the native tools each vendor provided.

For iOS, that was XCode and Objective-C.

For Android, that was an Android SDK plugin to Eclipse, or Netbeans and Java.

Oh my, how things have changed.

Today, there are many more options.

There are countless frameworks, tools, and entire platforms and ecosystems for developing mobile applications.

Just about every programming language is supported in one form or another, and mobile applications can even be built to run exclusively in a mobile browser.

Even though there are many options available, we can group them into a few larger categories.

Native Development

Obviously, we can natively develop mobile applications using the tools the mobile OS vendor provides for us.

As I mentioned before, for iOS, this was initially XCode and Objective-C, but Apple created a new language called Swift, which is now the language of choice for developing iOS apps.

In the Android world, not much has changed except that Google has put out its own Android Development Studio IDE. Java is still the preferred language (although, if you are really brave, C/C++ is officially supported).

The biggest issue with native mobile development is that you have to completely rewrite the code for your application for both iOS and Android. (If you want to support Windows Phone or another small platform, you must do the same for that platform as well.)

It’s not a huge deal, but applications typically need to be supported, so trying to support different versions of an application on two or more totally different platforms can be a bit of a maintenance nightmare.

Also, Android and iOS development is pretty much completely different.

The tools are different, the languages are different, the frameworks are different, and even the development paradigms are different.

If you want to create an iOS and Android version of an application, you have to be prepared to learn two very different, evolving platforms.

Native development does have a few advantages.

Aside from using a framework that compiles down to native code, native code is pretty much going to be faster than any other solution.

If you develop natively, you are also going to have better debugging tools since you won’t be operating with several layers of high abstraction.

You are also more likely to be able to take advantage of some of the native features of the platform and get closer to the hardware level.

Overall, I think it’s useful to know how to do native mobile development, but I don’t think it’s the best solution for delivering an app to multiple platforms.

Cross-Platform Frameworks and Tools

Результат пошуку зображень за запитом "mobile development"

The next option is to choose to use a framework or tool that is designed to allow you to build cross-platform mobile applications.

There are many of these solutions to choose from depending on what you are looking for.

Some of these solutions actually produce native code and wrap the real native libraries, so they are just an abstraction over the native language and tools, but they still require you to know and use the native libraries and frameworks.

Other solutions will build a hybrid application that has some native components and some web-based or HTML components and relies on the built-in mobile browser for creating most of the user interface and functionality of the application.

There is an ever-growing list of options to choose from, so choosing can be difficult.

The main considerations to think about when choosing a cross-platform framework solution are:

  • What programming language you should use
  • Whether you want to take a native or hybrid approach
  • How many platforms you want your code to support
  • Whether you can reuse code or not

Programming Language

What programming language do you want to use to code the application you are building?

Most cross-platform solutions support a single programming language.

You might not want to incur the learning curve of a new framework, mobile development, and a new programming language all at the same time, so you might want to pick a cross-platform solution which supports a language you already know.

Native or Hybrid

There are several cross-platform solutions which compile the final code down to the native format for the mobile operating system and hook directly into the native libraries and APIs.

Typically, native is going to be faster and look and feel more like the mobile platform the app is running on, but some of the cross-platform, hybrid solutions are getting so close to native that is can be difficult to tell the difference.

Platform Support

Another major consideration is platform support.

Just about all cross-platform solutions support iOS and Android, but some cross-platform solutions also support desktop operating systems like Mac OS X or Windows, and others support the smaller phone OSes or even Raspberry Pi.

If you need to support Blackberry, because that is what your customers are using, you will be constrained to cross-platform solutions which support it.

However, if you don’t have specific needs for platforms other than iOS and Android, I wouldn’t worry about cross-platform support beyond the two big dogs.

Code Reuse

Finally, you should consider code reuse.

Just because a framework is cross-platform doesn’t mean you’ll be able to write all your code for the application once and have it run on all the supported platforms.

Typically cross-platform solutions which offer native support will have less code reuse because they will be tied more closely in with the native frameworks, libraries, and user interface elements and paradigms.

Therefore, you might have to choose between being more native and having the look and feel and design of the mobile OS platform you are running on, or sharing more code.

Ultimately, code reuse depends on what kind of application you are building and how much you want the application to blend in with completely natively-built applications on the platform you are targeting.

Mobile Web Apps

Finally, you can decide to build a mobile application that is completely web-based.

Over the years, this option has become more and more feasible as the power and capabilities of mobile browsers have increased and adaptive web technologies have improved.

With this option, you build a web application, just like any other web application you would build on the web, but you would specifically design it to work on mobile devices.

Many mobile OS browsers even have hooks to support invoking native functionality from inside the web browser, so you can do things like get location data and access things like the camera on the device.

There are even quite a few frameworks out there to help you create mobile web applications which look like native applications when run on a particular mobile OS.

Honestly, the future is mobile web apps — we just aren’t there quite yet.

 

Sourse