From 2a7a77348069fb852ce7bf7ed0829e2c4de165bc Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 9 Jun 2009 13:42:54 -0500 Subject: [PATCH] Clarify rules for package name in documentation Nowhere in the documentation does it say that the only valid package names are ones that match (excuse my abuse of regex to explain this): ^[A-Za-z][A-Za-z0-9_] This change makes clear the rules followed by the PackageParser --- docs/html/guide/topics/manifest/manifest-element.jd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/html/guide/topics/manifest/manifest-element.jd b/docs/html/guide/topics/manifest/manifest-element.jd index a9d10906add02..48e598a4ef4ac 100644 --- a/docs/html/guide/topics/manifest/manifest-element.jd +++ b/docs/html/guide/topics/manifest/manifest-element.jd @@ -44,8 +44,11 @@ to "{@code http://schemas.android.com/apk/res/android}".
{@code package}
A full Java package name for the application. The name should -be unique. For example, applications published by Google could have -names in the form com.google.app.application_name. +be unique. The name may contain uppercase or lowercase letters ('A' +through 'Z'), numbers, and underscores ('_'). However, individual +package name parts may only start with letters. For example, applications +published by Google could have names in the form +com.google.app.application_name.

The package name serves as a unique identifier for the application.