From 53b0fda5fd7c532fc1d93abd5f8a85276821cc6d Mon Sep 17 00:00:00 2001
From: Scott Main
<service android:name=".MyAccessibilityService"
- * android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE>
+ * android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
* <intent-filter>
* <action android:name="android.accessibilityservice.AccessibilityService" />
* </intent-filter>
diff --git a/docs/html/about/start.jd b/docs/html/about/start.jd
index af8344d0bb729..fbe70e3de2155 100644
--- a/docs/html/about/start.jd
+++ b/docs/html/about/start.jd
@@ -29,9 +29,9 @@ h2.green+hr{background:#99CC00}
Before you write a single line of code, you need to design the user interface and make it fit
the Android user experience. Although you may know what a user will do with your app, you
should pause to focus on how a user will interact with it. Your design should be sleek,
-simple, powereful, and tailored to the Android experience.
+simple, powerful, and tailored to the Android experience.
-So whether your a one-man shop or a large team, you should study the So whether you're a one-man shop or a large team, you should study the Design guidelines first.
diff --git a/docs/html/distribute/googleplay/promote/brand.jd b/docs/html/distribute/googleplay/promote/brand.jd
index 8d049030b675e..76ed619614455 100644
--- a/docs/html/distribute/googleplay/promote/brand.jd
+++ b/docs/html/distribute/googleplay/promote/brand.jd
@@ -150,7 +150,7 @@ any way you want, provided that you follow the guidelines described below.
http://play.google.com/store/search?q=yourCompanyName
Any other brands or icons depicted on this site are not are the property of their -repective owners and usage is reserved. You must seek the developer for appropriate permission to use them.
+respective owners and usage is reserved. You must seek the developer for appropriate permission to use them. diff --git a/docs/html/guide/topics/providers/content-provider-basics.jd b/docs/html/guide/topics/providers/content-provider-basics.jd index f5e480595fc5a..8c47ad72906df 100644 --- a/docs/html/guide/topics/providers/content-provider-basics.jd +++ b/docs/html/guide/topics/providers/content-provider-basics.jd @@ -1030,12 +1030,12 @@ mRowsDeleted = getContentResolver().delete( A provider defines URI permissions for content URIs in its manifest, using the
android:grantUriPermission
- attribute of the
- {@code <provider>}
+ attribute of the
+ {@code <provider>}
element, as well as the
- {@code
- <grant-uri-permission>} child element of the
- {@code <provider>}
+ {@code
+ <grant-uri-permission>} child element of the
+ {@code <provider>}
element. The URI permissions mechanism is explained in more detail in the
Security and Permissions guide,
in the section "URI Permissions".
diff --git a/docs/html/tools/samples/index.jd b/docs/html/tools/samples/index.jd
index 5c0e8db777eb0..ed416e6a82db3 100644
--- a/docs/html/tools/samples/index.jd
+++ b/docs/html/tools/samples/index.jd
@@ -3,7 +3,8 @@ page.title=Samples
@jd:body
To help you understand some fundamental Android APIs and coding practices, a variety of sample -code is available from the Android SDK Manager.
+code is available from the Android SDK Manager. Each version of the Android platform available +from the SDK Manager offers its own set of sample apps.To download the samples:
When the download is complete, you can find the samples sources at this location:
+When the download is complete, you can find the source code for all samples at this location:
-<sdk>/platforms/<android-version>/samples/
+<sdk>/samples/android-<version>/
The {@code <version>} number corresponds to the platform's + API level.
+You can easily create new Android projects with the downloaded samples, modify them -if you'd like, and then run them on an emulator or device.
- \ No newline at end of file +if you'd like, and then run them on an emulator or device. \ No newline at end of file diff --git a/docs/html/training/basics/fragments/communicating.jd b/docs/html/training/basics/fragments/communicating.jd index 3ac987372ec73..eb9b3689fc8b0 100644 --- a/docs/html/training/basics/fragments/communicating.jd +++ b/docs/html/training/basics/fragments/communicating.jd @@ -108,7 +108,7 @@ public static class MainActivity extends Activity implements HeadlinesFragment.OnHeadlineSelectedListener{ ... - public void onArticleSelected(Uri articleUri) { + public void onArticleSelected(int position) { // The user selected the headline of an article from the HeadlinesFragment // Do something here to display that article }