Google reveals Android source code

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

The HTC Dream
(Credit: T-Mobile)

The Android Open Source Project site includes a project list, a feature description, guides to the roles people can have in the project and how to contribute, and of course 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. Now, though, as T-Mobile's G1 arrives on the market, Google hopes to multiply that by drawing 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 subsidize 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 build the T-Mobile G1, as well as Motorola, LG Electronics, and Samsung. And 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, though, other manufacturers may use it, and Miner said they will. Indeed, Wind River said Kyocera was 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," inexpensive mobile phone hardware that now can be made useful with Android, Miner said.

This time, though, Microsoft Windows isn't going to be the operating system that spreads like wildfire, 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 an answer to that issue, and 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 maximized when no one entity controls a platform," Miner said. Adding open to open source

It's 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, with various different ways 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.

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

"It was built with the 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 License 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 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, though, takes place one level above that.

On conventional computers, software runs directly on that operating system kernel. Android, though, 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 Microsystems, but it's very close from a programming perspective.

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

With this flexibility, though, can comes 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 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 touch screen, 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

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

I guess but in both cases, dead body!

3 hours ago by Doubt on National Botnet Network coming: Earthwave

I think it's for the very reasons you mention in your first paragraph that there is no CBA. With the ideological differences and vested ...

3 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

Good points; but how do you establish consensus about the terms of reference of a cost-benefit analysis? What is to be included? How far ...

4 hours ago by Gwyntaglaw on NBN cost-benefit analyses are so 2011

I live in a small country town & have done since 2002. When I got to this town it had no mobile phone & no broadband. The only reason w...

4 hours ago by fibretech on Regional review highlights NBN, mobile

Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I...

5 hours ago by Uttedsips on Fujitsu Stylistic ST5011

Like most things in life, the devil is in the details. If a cost benefit analysis included a societal element, I'm certain nobody on eit...

5 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

The coalition has done nothing else but keep changing their view over the last 2 years. -first it was "there is nothing wrong with the ...

5 hours ago by djz on NBN cost-benefit analyses are so 2011

Use the force Luke... FFS

5 hours ago by Beta on Regional review highlights NBN, mobile

michael kors outlet http://www.michael-kors-discount.com/#5923

5 hours ago by michael kors bag on Best iPhone travel apps

Hey butterflyeffecs and lex, Sorry you're not fans of this piece. But you're dead right in that it is the thoughts and experience of a se...

5 hours ago by LHopewell on Android fragmentation steers Vic Health

teen cams
http://www.aloe-vera.cz handjob

5 hours ago by MyncWenry on Fusion-io ioDrive (80GB)

We have fashional replica bags designer .Replica luxury bags sale here are perfect compromise of quality and price. The replica handbags ...

6 hours ago by Machelle on Telecom NZ CEO Paul Reynolds to leave

It's not a question of whether anyone at HSU would know how to do this, but whether they would have connections with people who could. T...

6 hours ago by meski on CT, phone clone

Fred, I can tell you what the difference between FTTN and FTTH is. FTTH means we will be developing technology and services that we sell ...

6 hours ago by andye on NBN FUD: will Abbott ever learn?

You are 100% right – Abbott is a paragon of tenacity. Now if he could only try that hard to get Malcolm Turnbull's phone number, we co...

6 hours ago by braue on NBN FUD: will Abbott ever learn?

Very interesting to hear Ben and thanks for providing some real-world examples. I suspect the NBN has actually improved things for a grea...

6 hours ago by braue on NBN FUD: will Abbott ever learn?

Hi Geoff, my opening paragraph simply suggests that the leader of the opposition party would rightfully be turning to his communications ...

6 hours ago by braue on NBN FUD: will Abbott ever learn?

Very good point Richard – perhaps one of the most interesting things about this whole debate is how extensively it feeds the collective...

7 hours ago by braue on NBN FUD: will Abbott ever learn?

Yes. I also wonder how much of this intentional subterfuge is actually playing out as part of Turnbull's master plan. Given the rough ri...

7 hours ago by braue on NBN FUD: will Abbott ever learn?

Westpac Management runs STG IT since the take over and it is they Westpac who makes the decisions.

7 hours ago by jeff_syd on St George opts to keep 200 IT workers

This story has been voted 12000 times in the last 24 hours!

9 hours ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar