dcsimg

One Android to Rule Them All?

Android is maturing, both for developers and consumers. Will it dominate the mobile market? 2010 may bring the answer.

The Google Phone

Two years ago I began writing a book about writing applications for Android.

Back then, most people had not heard of Android — in fact, unless you’re a phone-geek or a Linux fan, you may still not have heard of Android.

When asked to describe my project, I simply described it as a book for folks like me who want to write software for the “Google Phone”.

Of course, a “Google Phone” really didn’t exist at the time. But now, as 2010 approaches, rumors abound about the new phone built just for Google, named the “Nexus One”.

I am no insider — no one at Google has called to let me know what is going on — nor do I have one of these devices handy. I have not seen the device and am relying on information from the web just like most of us. Regardless, it looks like a Google Phone is on the horizon, so what do we know about this device?

Rumor Mill

Here are some of the (rumored) details about the Google Phone.

  • The new Google phone has been given to Google employees as a test population — to put the phone through its paces.
  • It is an unlocked GSM phone. This means that it can work with T-Mobile and AT&T in the US, though the device’s FCC testing on T-Mobile’s network suggests that T-Mobile is the first target network, as the T-Mobile and AT&T 3G networks are supposedly incompatible. Source
  • Being unlocked means that it may or may not be available as a subsidized device. For those grappling with what subsidized means — think “two year contract required”.
  • Touch screen only — no keyboard — it is supposed to be thinner than the iphone. Bummer. I really like the tactile feel of a physical keyboard. This fact alone makes it hard to imagine switching away from my CrackBerry device, though I am confident that I will be making the switch to an Android device sometime in 2010. That will depend on the availability of a solid Android device for AT&mpT which at present is still lacking.
  • The device will run version 2.1 of the Android OS. Great, just what we need is another SDK release to keep up with!
  • The topic of a new SDK is generally speaking a good thing for consumers, but a challenge for software developers and a potential source of frustration for the early adopters; the Sprint Hero is currently stuck at rev 1.5 of the Android SDK. Hopefully Sprint makes an upgrade available soon to Hero customers. Even the Droid from Motorola/Verizon is at 2.0 and will already be behind a minor release revision.

Everyone expects the new device to be faster, cooler and better than sliced bread, etc. However, the truth is that the phone will be measured by one and only one yard-stick: “is it better than the iPhone”? Time will tell.

Maturing SDK

Writing a technical book is a non-trivial task. Writing a technical book for a moving target like Android can be classified as somewhere between ambitious and lunacy.

When I first embarked on the project to write a book about an as-yet-unreleased mobile operating system, it seemed like a fun idea. Things were new and exciting — kind of like the first snow of the season. After a while dealing with SDK changes was like clearing the driveway from heavy snow — again. It was quite a bit of work to keep up.

By the time the book was half-written, the SDK had changed multiple times and there were long stretches of “hurry up and wait” between updates and rumors of SDK updates. Some other books came out before us and were (arguably) of marginal value due to the signfiicant changes in the early SDK.

Today the SDK sits at version 2.0 2.0.1. With the talk of the new Google device, we’re looking at version 2.1 at minimum, perhaps even higher once the device is actually shipping to an audience broader than Google’s employees. Fortunately, Google has made some enhancements to the developer tools to better facilitate moving between different SDK releases.

Up through SDK release 1.5, each time a developer wanted to work with a different SDK, the full SDK was downloaded and the development tools would be modified to point to the new SDK. If you wanted to do a build for a different SDK target, you would have to switch to another “directory” on your development environment to “compile and link” against the appropriate SDK. Having multiple SDK’s in play concurrently was a bit of a challenge.

With SDK version 1.6 and beyond, an Android developer need only install the SDK once and then the SDK itself contains tools for keeping your development environment up to date.

Android SDK and AVD Manager

Today, when you download the SDK, you get the latest version of the Android SDK and Virtual Device (AVD) Manager.

This tool is accessible from the Eclipse toolbar as shown below.

Start the SDK and AVD Manager
Start the SDK and AVD Manager

When invoked, the SDK & AVD Manager permits three major activities.

  • View Installed packages. This new approach to SDK management is very modular — you can install only the components and tools of interest. If you are like most Android developers today, you probably will care little for working with the 1.1 SDK. However, if you have a need to work with it, you can install that version. As new versions become available (like 2.0.1 did just after the Droid launch), you can simply download the new packages and test your projects against the latest code.

    Browse installed packages
    Browse installed packages
  • Browse Available packages. This option lets you see which packages are available, including a choice to optionally see only updates to currently installed packages.
    Packages available to upgrade or install
    Packages available to upgrade or install
  • The Virtual Devices option lets you manage Emulator instances — connecting the appropriate SDK to the appropriate Emulator tool. In this way, an Android developer can manage, and even run, multiple SDK versions concurrently. Creating a new virtual device is easy using the tools, just select New and fill out the form as desired.
    Manage Android Virtual Devices
    Manage Android Virtual Devices

Once the new device has been defined, you can selectively start one or more instances of the Android Emulator.
Pick a Virtual Device
Pick a Virtual Device

When you want to run your Android application against a particular SDK level, you need to specify which “target virtual device” you want to run as shown below.

Select a Virtual Device to run
Select a Virtual Device to run

That’s it — you can now use multiple versions of the Android SDK in your own development environment.

2010 promises to be an exciting and hopefully break-through year for Android enthusiasts everywhere. Google is getting into the game with a device — whether it is good or bad for Android, only time will tell. The one fact it demonstrates is that Google is continuing to invest in this platform, and that cannot be bad news. The SDK is ready for a continuously forward-looking horizon. And yes, I am writing an update of the Android book. Ambitious? Yes. Lunacy? Perhaps.

Comments on "One Android to Rule Them All?"

gmiller1018

The issues with the SDK changing are VERY similar to the iPhone SDK which has changed many times since released. Each time it cam out it was not just a re-compile there were numerous times where the code need to be changed as well.

It is in point of fact a great and helpful piece of information. I’m satisfied that you just shared this helpful information with us. Please keep us up to date like this. Thank you for sharing.

Heya are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need any html coding expertise to make your own blog? Any help would be greatly appreciated!

I have learn several excellent stuff here. Certainly value bookmarking for revisiting. I wonder how so much attempt you place to create this sort of magnificent informative web site.

Viktor: Amazed at what you have accomplished in only 4 years. I stand behind you all the way. I do what I can to save precious lives in the USA. Have to admit I spend a lot of my time with rescue of pure blooded Turkish Vans & Look-A- Likes since I had one Van “Little Boy Blue” for 18 years and another &#20&2;Viva2#8281; who was taken at 3 from blood clots and heart failure. Vans have a special spot in my heart but I love all of God’s creatures. I presently have a DLH white kitty who rules. God Bless you!!!

Thank you a bunch for sharing this with all folks you actually know what you’re talking about! Bookmarked. Kindly also consult with my site =). We will have a link trade arrangement among us|

You could certainly see your skills within the work you write. The sector hopes for more passionate writers such as you who are not afraid to say how they believe. All the time follow your heart. “History is the version of past events that people have decided to agree upon.” by Napoleon.

The time to study or visit the content material or web sites we’ve linked to beneath.

Sites of interest we’ve a link to.

Although web-sites we backlink to below are considerably not associated to ours, we really feel they may be basically really worth a go by way of, so possess a look.

Usually posts some very exciting stuff like this. If you are new to this site.

Usually posts some incredibly fascinating stuff like this. If you are new to this site.

Always a significant fan of linking to bloggers that I really like but don?t get a good deal of link enjoy from.

I have to point out my affection for your generosity in support of individuals who absolutely need help with that question. Your special dedication to passing the solution all over appeared to be rather informative and has specifically helped guys much like me to realize their ambitions. Your own informative guidelines signifies a great deal to me and much more to my office workers. Thanks a lot; from each one of us.

The time to study or go to the material or web sites we’ve linked to below.

That may be the finish of this post. Right here you?ll locate some sites that we think you?ll value, just click the hyperlinks.

Every as soon as in a whilst we decide on blogs that we study. Listed below are the most up-to-date web-sites that we select.

We came across a cool web-site that you may well take pleasure in. Take a search in the event you want.

Just beneath, are various absolutely not connected websites to ours, nevertheless, they are certainly really worth going over.

Usually posts some quite intriguing stuff like this. If you are new to this site.

That could be the finish of this write-up. Right here you will come across some web sites that we consider you will appreciate, just click the hyperlinks.

The information talked about within the article are a few of the best offered.

I simply want to say I am new to weblog and definitely savored your web site. More than likely I’m want to bookmark your website . You certainly have amazing article content. Cheers for revealing your web site.

Very few internet sites that come about to become detailed beneath, from our point of view are undoubtedly very well really worth checking out.

The info talked about within the article are a number of the most beneficial obtainable.

One of our visitors just lately recommended the following website.

The information talked about within the article are a number of the most beneficial obtainable.

We came across a cool web page which you may appreciate. Take a appear in case you want.

Wonderful story, reckoned we could combine several unrelated data, nonetheless truly worth taking a look, whoa did 1 learn about Mid East has got more problerms at the same time.

We like to honor lots of other world wide web websites on the web, even when they aren?t linked to us, by linking to them. Underneath are some webpages worth checking out.

Wonderful story, reckoned we could combine a number of unrelated data, nevertheless actually worth taking a search, whoa did one particular master about Mid East has got extra problerms at the same time.

Leave a Reply