From 44fc1e454d9e23c83deec971310a8f2eb41cd5cd Mon Sep 17 00:00:00 2001
From: Joe Fernandez
New for phones in Android 4.0, the navigation bar is present only on devices that don't have +
The navigation bar is present only on devices that don't have the traditional hardware keys. It houses the device navigation controls Back, Home, and - Recents, and also displays a menu for apps written for Android 2.3 or earlier.
+ Recents.Consistent navigation is an essential component of the overall user experience. Few things frustrate -users more than basic navigation that behaves in inconsistent and unexpected ways. Android 3.0 -introduced significant changes to the global navigation behavior. Thoughtfully following the -guidelines for Back and Up will make your app's navigation predictable and reliable for your users.
-Android 2.3 and earlier relied upon the system Back button for supporting navigation within an -app. With the introduction of action bars in Android 3.0, a second navigation mechanism appeared: +users more than basic navigation that behaves in inconsistent and unexpected ways. Thoughtfully +following the guidelines for Back and Up will make your app's navigation predictable and reliable +for your users.
+Action bars provide a second, standard navigation mechanism: the Up button, consisting of the app icon and a left-point caret.
diff --git a/docs/html/design/patterns/new.jd b/docs/html/design/patterns/new.jd
old mode 100644
new mode 100755
index 47b05b2912abc..df4c2ede187e5
--- a/docs/html/design/patterns/new.jd
+++ b/docs/html/design/patterns/new.jd
@@ -196,10 +196,7 @@ lockscreen, priority notifications, and cloud-synced notifications.
Android 4.0 removes the need for traditional hardware keys on phones by replacing them with a virtual navigation bar that houses - the Back, Home and Recents buttons. Read the - Compatibility - pattern to learn how the OS adapts to phones with hardware buttons and - how pre-Android 3.0 apps that rely on menu keys are supported.
+ the Back, Home and Recents buttons.
diff --git a/docs/html/design/patterns/widgets.jd b/docs/html/design/patterns/widgets.jd
old mode 100644
new mode 100755
index 8d94a52e1ff3a..42f563a04c942
--- a/docs/html/design/patterns/widgets.jd
+++ b/docs/html/design/patterns/widgets.jd
@@ -3,6 +3,13 @@ page.tags="appwidget","home"
page.metaDescription=Design guide to creating widgets that are easy to use and look great.
@jd:body
+
+ App Widgets
+Widgets are an essential aspect of home screen customization. You can imagine them as "at-a-glance" views of an app's most important data and functionality that is accessible right from the user's home screen. Users can move widgets across their home screen panels, and, if supported, resize them to tailor the amount of information within a widget to their preference.
With version 3.1, Android introduced resizable widgets to the platform. Resizing allows users to adjust the height and/or the width of a widget within the constraints of the home panel placement grid. You can decide if your widget is freely resizable or if it is constrained to horizontal or vertical size changes. You do not have to support resizing if your particular widget is inherently fixed-size.
+Resizing allows users to adjust the height and/or the width of a widget within the +constraints of the home panel placement grid. You can decide if your widget is freely resizable or +if it is constrained to horizontal or vertical size changes. You do not have to support resizing if +your particular widget is inherently fixed-size.
Allowing users to resize widgets has important benefits:
Although no license mechanism can completely prevent all unauthorized use, the licensing service lets you control access for most types of normal usage, -across all compatible devices, locked or unlocked, that run Android 1.5 or -higher version of the platform.
+across all compatible devices, locked or unlocked.To begin adding application licensing to your application, continue to Setting Up for Licensing.
diff --git a/docs/html/google/play/licensing/setting-up.jd b/docs/html/google/play/licensing/setting-up.jd index ef9de43eff920..f7521822d9b38 100755 --- a/docs/html/google/play/licensing/setting-up.jd +++ b/docs/html/google/play/licensing/setting-up.jd @@ -161,7 +161,7 @@ the add-on, you need to create an AVD configuration that uses that system image. However, it does provide:ILicensingService remote interface, so that your application can
send license checks over the network to the licensing server. You do not need to make any changes to your application's build configuration, provided that the project is already configured to compile -against a standard Android 1.5 (API level 3) or higher library. For example: - -
In general, adding licensing to an application should have no impact -whatsoever on the application's build configuration.
- +against a standard Android 1.5 (API level 3) or higher library. Adding licensing to an application +should have no impact whatsoever on the application's build configuration.MIPS support requires, at minimum, Android 2.3 (Android API level 9). If your project files target an older API level, but include MIPS as a targeted platform, the NDK build script -automatically selects the right set of native platform headers/libraries for you.
\ No newline at end of file +automatically selects the right set of native platform headers/libraries for you. diff --git a/docs/html/ndk/guides/ndk-gdb.jd b/docs/html/ndk/guides/ndk-gdb.jd index 6d9f9332a880b..8ce60372985d8 100755 --- a/docs/html/ndk/guides/ndk-gdb.jd +++ b/docs/html/ndk/guides/ndk-gdb.jd @@ -27,7 +27,8 @@ does not support using the legacy {@code make APP=<name>} method to build. {@code <application>} element that sets the {@code android:debuggable} attribute to {@code true}.Using a version of Android prior to 2.3 causes {@code ndk-gdb} to display the following message -prior to showing the GDB prompt:
- --Thread debugging is unsupported on this Android platform! -- -
If you place a breakpoint on a function executed on a non-main thread, the program exits, and GDB displays the following message:
diff --git a/docs/html/training/accessibility/service.jd b/docs/html/training/accessibility/service.jd old mode 100644 new mode 100755 index 953c558921bf0..5b99c46be67e8 --- a/docs/html/training/accessibility/service.jd +++ b/docs/html/training/accessibility/service.jd @@ -132,7 +132,7 @@ public void onServiceConnected() { } -Starting with Android 4.0, there is a second option available: configure the +
The second option is to configure the service using an XML file. Certain configuration options like {@link android.R.attr#canRetrieveWindowContent} are only available if you configure your service using XML. The same configuration options above, defined @@ -201,8 +201,7 @@ public void onAccessibilityEvent(AccessibilityEvent event) {
This step is optional, but highly useful. One of the new features in Android -4.0 (API Level 14) is the ability for an +
This step is optional, but highly useful. The Android platform provides the ability for an {@link android.accessibilityservice.AccessibilityService} to query the view hierarchy, collecting information about the UI component that generated an event, and its parent and children. In order to do this, make sure that you set the diff --git a/docs/html/training/appbar/index.jd b/docs/html/training/appbar/index.jd old mode 100644 new mode 100755 index c62ffaf86205e..64ce94d0cf074 --- a/docs/html/training/appbar/index.jd +++ b/docs/html/training/appbar/index.jd @@ -9,12 +9,6 @@ startpage=true