summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2009-06-09 13:42:54 -0500
committerJean-Baptiste Queru <jbq@google.com>2009-07-07 12:43:07 -0700
commite271820c50195ee74e91e5b1b01edee2a5e38914 (patch)
tree0ef42934c0e82de86ae434ee3233c35140a94bff /docs
parent55ed4914de69f30c1067bf1894b193f89dfd53b3 (diff)
downloadframeworks_base-e271820c50195ee74e91e5b1b01edee2a5e38914.zip
frameworks_base-e271820c50195ee74e91e5b1b01edee2a5e38914.tar.gz
frameworks_base-e271820c50195ee74e91e5b1b01edee2a5e38914.tar.bz2
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
Diffstat (limited to 'docs')
-rw-r--r--docs/html/guide/topics/manifest/manifest-element.jd7
1 files 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 a9d1090..48e598a 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}".</dd>
<dt><a name="package"></a>{@code package}</dt>
<dd>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 <code>com.google.app.<i>application_name</i></code>.
+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
+<code>com.google.app.<i>application_name</i></code>.
<p>
The package name serves as a unique identifier for the application.