Wednesday, July 21, 2010

Android: The What & Wherefores


Dan Morrill (Google)
Android project manager

This talk is about Android as an open source project.

Agenda
First things first
Project overview
Tools and tallies

First things first
What we mean by open:
Quote from source.android.com “No central point of failure...”
“I disapprove of what you have to say, but I will defend to the death you right to say it/.” Evelyn Hall
Before Android there were gatekeepers on getting mobile apps on devices.
Google has a very liberal for getting apps on the Android Market (similar to getting a video on YouTube)
Omitted: security, fraud, illegal, copyright

Project overview

Overall Goal: Improve App User / Developer Expirence

ASOP – Android Open-Source Project
Not a distro; a single corpus of software
Apache License 2.0 (mostly)
Partially non-public development process
Open for any use … but to join the eco system you mst be compatible.

Why Apache Licence?
It's close to BSD. Patent clause.
Why not GPL: OEMs should be free to keep their changes
There are some GPL s/w, like Bluetooth and Webkit, in Android

Who a partially non-public development process
(two source repos – one internal to google and one on soruce.google.com)
- We're defining a platform as we go
It we do this in the open, people WILL shop early
We simple can't afford inconsistent API implementation
Contrast with HTML5, where platforms are already defined
- It's necessary to complete
We're not a software project, we are a consumer electron project.
Margins are small; competition is fierce; mindshare is king.
Splashy launches and campaigns are How It's done.
- Private development actually not ENTIRELEY true...
kerenal dev done (almost) entirely in the open
SDK compatibility Test Suite recent moved open-source
NDK is moving open

Balancing open source with platform integrity
Compatibility is a BIG issues

Tools and tallies
Uses git for SCM
Uses repo for cross-git-project automation (a big shell for loop)
Uses gerrit for our review-before-commit process (see review.source.android.com)
Also see code.google.com/p/gerrit

kernel.org is really good and globacl git hosting
OSUOSL.org is really good at hosting Java apps

See source.android.com/source/life-of-a-patch.html WOW

Demo of submitting a patch.

Note to self: try gerrit

AOSP on Devices
Up through Eclair, it was hard

Numbers
40 company, 4000 users
1000 contributions
80% acceptance rarre

No comments:

Post a Comment