Google shares Android source code

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS

Less than a year after announcing Android, the open-source phone operating system intended to jump-start the mobile internet, Google began sharing the project's underlying source code.

The Android Open Source Project site includes a project list, a feature description, guides to the roles people can play in the project and how to contribute, as well as the Android source code itself.

Google has one team of programmers building the software and another professional services group to help support phone makers building Android phones. However, with T-Mobile's G1 now arriving on the market, Google hopes to draw upon the collective energy of outside contributors to the project.

"Our plan is a launching point for a much more vibrant open-source community," said Rich Miner, vice president of Google's mobile-platforms business. "For the past almost four years, this has been a large effort between Google and our partners. There have been a lot of people working on the code, but that's going to be multiplied by several orders of magnitude."

Open-source software can be freely used, modified and redistributed by anyone — freedoms that make it a daunting competitor to proprietary-software companies that charge for the code. Although open-source software rarely has been the sole basis for a thriving company, it can be a powerful tool to aid a broader agenda. Sophisticated technology companies, such as IBM, Oracle and even Apple, often subsidise open-source projects for that reason, and Android fits into that category.

Android beyond the T-Mobile G1
Four members of the Open Handset Alliance, which co-developed the Android software, build mobile phones: HTC, which builds the T-Mobile G1, Motorola, LG Electronics, and Samsung. Another alliance member, Wind River Systems, believes Android will power consumer electronics devices, including set-top boxes and in-car computing systems.

Now that Android is open-source software, however, other manufacturers may use it, and Miner said they will. Indeed, Wind River said Kyocera is building an Android phone.

"Think what happed to PC clones in the 1980s and 1990s timeframe. We're starting to see, coming out of Taiwan, the equivalent of a Micron motherboard," said Miner, referring to inexpensive mobile-phone hardware that now can be made useful with Android.

This time, however, Microsoft Windows isn't going to be the operating system that rapidly spreads, if Google has anything to do with it.

"There are a billion mobile phones sold every year that don't have a good, highly connected mobile operating system," Miner said. Android is intended as a solution to that issue — one that sidesteps the controls over software by rival operating systems such as Windows Mobile and Nokia's Symbian, he said.

"We feel fairly strongly, and it's resonating loudly through the industry, that innovation is maximised when no one entity controls a platform," Miner said.

Making Android open
It is a maxim among open-source fans that projects that begin as open source fare better as such than those that begin as proprietary projects and are retrofitted with an open-source governance. For example, the Linux kernel project has thrived as an open-source project since its earliest days, offering various different ways that people or companies can involve themselves, but it took several painful years before the Mozilla open-source Netscape project finally became relevant in the form of Firefox.

Some open-source fans have criticised Google for being too closed with Android in its early stages. But Miner insisted that Android, while initially developed in-house, is indeed a true open-source project.

"It was built with intention of open-sourcing it," Miner said, pointing specifically to project details such as its architecture, comments in the code, and the code's structure. "We decided we didn't need to build release 1.0 as open source... We engineered 1.0 as a best-in-class, fully staffed, engineered product. Having delivered that, we think it's time to start leveraging the benefits of what open source can bring."

The code is managed by the Android Open Source Project, and anyone contributing code to the project must sign a contributor's licence agreement, Google said. The project is separate from Google, the company said, but it's not immediately clear just how independent.

Android ingredients
Android is big. With 11 million lines of code, about 8.6 million of them are open-source, according to an earlier interview with project leader Andy Rubin. But what's in Android exactly?

At the foundation is a stripped-down Linux kernel that communicates with a phone's hardware, and Android supports multiple phone processors. Much of the Android work, however, takes place one level above that.

On conventional computers, software runs directly on that operating-system kernel. But Android includes a 'virtual machine' software layer called Dalvik that runs applications written in the Java programming language. Dalvik isn't a part of the mainstream Java community built by Sun, but it is very close from a programming perspective.

A host of built-in applications are available to run on Dalvik, including software for dialling the phone, using online maps, browsing the web, using email and Gmail, and managing contacts. In addition, Open Handset Alliance partners have contributed software, including a speech-recognition engine from Nuance and audio and video decoder software from PacketVideo.

However, with this flexibility can come chaos. Google said it will offer a compatibility test suite to ensure various versions of Android remain compatible.

One advantage of using this virtual-machine technology is that Android programmers don't have to worry about what underlying hardware a phone uses. That's an important factor when it comes to sharing software, most notably through Google's Android Market download service, because programmers won't have to build different versions of software for one phone processor or another, and people won't have to know this obscure information either.

However, Dalvik doesn't get around all the complexities of the computing world. For example, a game might require a touchscreen, but not all Android phones necessarily will have that higher-end feature. For that reason, Google plans to build a profiling feature into the Android Market so users will be able to download only software appropriate for their model. With only one Android phone on the market until 2009, that complication is a moot point for now.

Talkback

This post has been removed by a moderator.

This post has been removed by a moderator.

This post has been removed by a moderator.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

BrownieBoy

@Jack, > Works really well for thieves.... Nice attempt to deflect the argument by tossing in a point that's totally irrelevant, even it were...

9 hours ago by BrownieBoy on AMD Ultrathins to challenge Intel Ultrabooks
bootlegger

Make that 13 people now - I got refused today at Manchester airport. I thought I was up to date on this legislation - I knew of the EU ruling from...

12 hours ago by bootlegger on UK airport body scans will not be opt out
tinycg

Don't forget to check out apps like GoodReader or SlideShark either, they're indispensible for people on the go in presentation situations. Best...

14 hours ago by tinycg on Four top iPad apps for people on the move
TerryRK

Well it seems there is something a number of us agree on. Why is the Ubuntu Unity launcher so ugly? I thought perhaps it was something to do with...

19 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

1 day ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

2 days ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

2 days ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

2 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

2 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

2 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

2 days ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany
GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

2 days ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

2 days ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

2 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

2 days ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

2 days ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

2 days ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint