Welcome!

Mobile IoT Authors: Shelly Palmer, Elizabeth White, Pat Romanski, Liz McMillan, William Schmarzo

Related Topics: Mobile IoT, Microsoft Cloud, Wearables

Mobile IoT: Article

Choosing the Right Mobile SDK and Platform for Your Application

Android, iPhone SDK, .NET Compact Framework, AJAX/Web

Kevin Hoffman's Blog

I am currently of the mindset that Android should be considered a wait and see technology. The iPhone SDK sports the best mobile application deployment and purchasing channel on the market, but can be problematic for enterprises and apps requiring high levels of security. Also, there is some risk in building an app that might be rejected. The .NET Compact Framework is a tried and true, proven mobile development framework that provides a relatively easy way to build apps for Windows Mobile devices. It takes some effort to make your Windows Mobile apps look decent, but you get the benefits of a huge community, re-use of your C#/.NET skills, great tools and more.

In the beginning (relatively speaking), there was PalmOS. This was the main vehicle through which application developers created mobile applications. This was due in large part to the fact that PalmOS pretty much dominated the PDA market and was really the first pioneer of the PDA+phone combination (remember when all your friends snickered at you derisively when they got their Palm VII device? ... or maybe that was just my friends.... ).

Now we've got a much broader market, with a lot more options. This is a good thing, because programming for PalmOS sucked. Now we've got mobile devices that run a mobile version of the .NET Framework that can even run a mobile version of SQL Server for the desktop. We've got the iPhone SDK, which is basically a mobile version of Cocoa - making Cocoa/Mac programmers feel right at home when building apps on this device. You've got an elite closed system of RIM application developers. Then you've got people writing mobile web applications with Ajax that work on small footprint devices. And now you've also got the imminent arrival of devices running Android, a Java+XML development environment.

So just how do you figure out whether you should be spending your time, your money, and potentially a lot of risk, on a given mobile development environment? In this blog post I'm taking a look at some of the mobile dev environments and what I think the pros and cons are, and who I think should be taking advantage of those environments.

Android

As of yet, Android is still unproven and unreleased. We've seen demos of Android running on a few devices, and a lot of really fascinating marketing shpew... but nobody has actually gone out to a store and bought an Android device, downloaded an Android application, and run it. As a result, we really don't know what this ecosystem is going to look like. The development environment for Android is Java with templated UI based on XML that borrows a lot of inspiration from declarative UI programming patterns. Everything in the Android space is currently under a rosey umbrella of the "green grass" effect... A lot of people are banking on Android to solve all their problems, regardless of how realistic that assumption might be.

Analysis: Don't spend a dime on Android development that you can't afford to write off as an experimental loss. Obviously if you've got people paying you to write Android apps then you're safe, but if you're thinking about venturing into these uncharted waters and you don't have the capital to throw at it, I'd say avoid it.

iPhone SDK

Obviously the iPhone is a phenomenon. It's been ridiculously successful and, in typical Apple fashion, they have managed to take a device that had singular geek appeal and make it appealing to the general public. Even if they don't own one, pretty much every person on the planet who isn't a luddite and hasn't been living under a rock for the past couple of years knows what an iPhone is and has seen the commercials. The development environment is a slimmed down sandboxed version of Cocoa, so Mac/Objective-C developers should feel immediately at home building iPhone applications. The SDK has been getting progressively better as more features are added to the core phone/iPod touch OS. The App Store is quite possibly one of the single best mobile application deployment channels ever. That said, there are some downsides. Recently, people have been up in arms because Apple seems to be exercising arbitrary authority over the rejection process where the application might overlap functionality that Apple already provides. Also, Apple has banned other applications for questionable network use even though the authors felt as though they were complying with the network regs outlined by the SDK agreement.

Analysis: If you are positive that your idea can't possibly be rejected by Apple, and you can build your application cheaply, then this is a no-brainer you should be jumping all over this potential gold mine of a platform. However, there is a risk that you could spend a crapload of money on building your application only to have it rejected by Apple during the final stages... so that's a risk you need to weigh before beginning the project (possibly talk to an Evangelist to gauge whether they think your app might get rejected or not). If you are building an app as a hobbyist, in your spare time, or to tinker - you couldn't possibly ask for a better platform to get visiblity for your effort and hard work. Also, keep in mind that there are currently a lot of enterprises that don't allow the iPhone to be used by their employees for security concerns... so keep that in mind and do a cross-check on your intended audience before you start building, or you could end up building a killer app that everyone wants and no one can use. Another possible downside - lack of community. Good luck finding public answers to your problems. The NDA for the iPhone SDK has been hindering everyone from tinkerers and hobbyists to full-on commercial application developers and even authors who have been trying to help developers learn this platform. It doesn't look like Apple is going to lift the restrictions on the NDA anytime soon, so if you want to get into this platform, you'd better enjoy being a self-taught lonely programmer.

.NET Compact Framework

The .NET Compact Framework has a remarkably wide install base. It basically shows up (or can be installed) on any Windows Mobile device. Devices that can run the CF include everything from small cell phones that only have numeric keypads to full PDA-type phones with slide out haptic keyboards all the way to niche devices like in-car entertainment/navigation console systems. Who knows, I'm sure there is a refridgerator out there that might be running a version of the .NET CF. Obviously the development environment for the CF is the .NET Framework, so if you've been building desktop and/or server apps using C#, you should be able to jump right onto building mobile applications for CF-carrying devices. You get what is arguably one of the best IDEs available in the industry, a flaming truckload of community where most problems you might encounter have already probably been solved and discussed on blogs or forums.

Analysis: If you are building an application that you want to deploy in an enterprise, you can probably find no better mobile platform/SDK combination. Windows Mobile devices are everywhere, and if you walk around a corporation anywhere in the world, you're going to find a truckload of people walking around with WM devices or Blackberries. Even corporations where people are using Blackberries also probably have complementary coverage for WM and exchange-based devices. The deployment channel for hobbyists and shareware type developers is rough and ugly, but WM devices are not closed, and anybody can plug a device in and install software on them (unlike iPhones). The open-ness of this platform is a huge advantage to commercial and hobbyist developers alike. Even if you're planning on building your app on one of the other platforms, you should consider building a port for this platform as well because of the huge target audience, corporate/enterprise acceptance, rich tooling, and massive public community/support.

Web / AJAX

Most people feel that this is the most risk-free approach. Rather than building an application that targets a specific device or specific OS/platform, people will build web applications that can be viewed from mobile web browsers. The problem with this approach is that, unless you're using an iPhone, most mobile web browsers suck, so you have to try your damndest to overcome the limitation of the browser chrome through which your application is viewed. Also, many mobile platforms have strict JavaScript limitations (including the iPhone), which can inhibit Ajax apps or cause unanticipated side-effects.

Analysis: If you want little to no risk, and the functionality you want to expose can be done in a low-fidelity small-form-factor "lowest common denominator" type format, then you should consider the Web / AJAX approach. Another downside to this approach is that you rely on the speed and quality of the mobile device's connection. Users automatically associate bad experiences with the application they were using at the time, so your app may be the undeserving recipient of customer ire when their 3G connection starts to suck ass and your app appears to stop responding to Ajaxy requests.

To summarize, I am currently of the mindset that Android should be considered a wait and see technology. The iPhone SDK sports the best mobile application deployment and purchasing channel on the market, but can be problematic for enterprises and apps requiring high levels of security. Also, there is some risk in building an app that might be rejected. The .NET Compact Framework is a tried and true, proven mobile development framework that provides a relatively easy way to build apps for Windows Mobile devices. It takes some effort to make your Windows Mobile apps look decent (out of the box CF apps look like ass), but you get the benefits of a huge community, re-use of your C#/.NET skills, great tools and more. Ajax apps are relatively risk-free, but you need a good, live internet connection to use them and they often can't compensate for crappy displays and/or small form factors.

 

More Stories By Kevin Hoffman

Kevin Hoffman, editor-in-chief of SYS-CON's iPhone Developer's Journal, has been programming since he was 10 and has written everything from DOS shareware to n-tier, enterprise web applications in VB, C++, Delphi, and C. Hoffman is coauthor of Professional .NET Framework (Wrox Press) and co-author with Robert Foster of Microsoft SharePoint 2007 Development Unleashed. He authors The .NET Addict's Blog at .NET Developer's Journal.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...