2741 Commits

Author SHA1 Message Date
smain@google.com
89d11705a1 Update links for all files under sdk/ that moved to studio/
Change-Id: I624621dfd7df0f441d0b559e5a12029e5e299964
2016-05-15 02:55:23 +00:00
Joe Fernandez
ec6effa1b0 Merge "docs: App Translation API updates" into mnc-docs
am: 1ede811143

* commit '1ede811143d32afe8ba6ce49a19060da4a1b6092':
  docs: App Translation API updates

Change-Id: Id075bdfddf3c5ccabf063690a37c487a87f9635d
2016-05-13 17:11:08 +00:00
Andrew Solovay
ad87d2beaf docs: Noted that custom permissions must be unique per-device
We'd already noted this in the "new in Android 5.0" page but we
hadn't moved this into the base "permissions" pages. Added it, with
some usage recommendations from the bug.

Also fixed some formatting while I had the files open.

See first comment for doc stage location.

bug: 18143176
Change-Id: I9cc1a8865492ebf30c7a0f7c325669ded670933e
2016-05-11 15:23:53 -07:00
Joe Fernandez
5310e2d669 docs: App Translation API updates
Includes all updates to App Translation API content/text. Also
includes "Related Resource" cards.

Bug: 27729402

Change-Id: I0385f448b7b92fe420f3b51394d9a659e7b6df81
Original-Change-Id: Ibcde400fe8b340f032d1c458c83deb828450c9a5
2016-05-06 10:30:56 -07:00
Andrew Solovay
084d99bfd4 docs: Fixing bad URL in libraries TOC
Also added the libraries sub-TOC to the "API Guides" TOC.

See first comment for doc stage location.

Change-Id: I06aac939e40ffad7888801ea01f6d4decd6eb4d1
2016-05-04 16:20:01 -07:00
Andrew Solovay
6006856b24 Merge "docs: Renaming /go/ top-level directory to /topic/" into mnc-mr-docs 2016-05-04 18:07:10 +00:00
Jaewan Kim
d3eacb56b6 Merge "Fix documentation for drawable resource" into mnc-docs
am: 2d542c5558

* commit '2d542c555851d896ceecb0e7a51819fef4f2cfbd':
  Fix documentation for drawable resource

Change-Id: Idc27783a9b237dbba23f548ecdde89df32acec8b
2016-05-04 00:16:44 +00:00
Andrew Solovay
f33272d531 docs: Renaming /go/ top-level directory to /topic/
Per discussion with JF and DD, the new holding pen for not-quite-
top-level topics will be a "/topic/" directory, not "/go/". (Currently
the only thing living there is the new "libraries" section.)

Updating redirects and TOCs accordingly. See first comment for
doc stage location.

bug: 28558659

Change-Id: I09201a8334cac70d76559a106a74d5a29fe82128
2016-05-03 16:48:31 -07:00
Jaewan Kim
5d98012000 Fix documentation for drawable resource
Change-Id: Ic7cd4dd75dc75c26184b71049589588fe658a9a3
2016-05-03 05:14:01 +00:00
Andrew Solovay
7877f69ddd docs: Moving library docs out of /tools/
The /tools/ top-level directory is going away when we move to devsite
(and the Android Studio docs get their own home) so I'm moving the
non-AS docs out of there. Also adding redirects (and fixing redirects
that pointed to the old locations).

For the time being, I'm also adding these libraries in to the
"API Guides" TOC, just so they're discoverable from somewhere; I'm
expecting this to change post-redesign.

See first comment for doc stage location.

bug: 28270787
Change-Id: I07488251384fbd22d2512a797793cf98654f54e7
2016-04-28 13:36:06 -07:00
Elliot Waite
988248daab Change custom_link_attributes to path_attributes format.
Change-Id: I24439d6f9226ace37eab875e8b1bb634a9e52074
2016-04-27 20:07:57 -07:00
Kevin Hufnagle
bdc74232d1 docs: [Revert] Improved description of "package" attribute
(manifest).

Per discussion with ddougherty@, decided that this was a high-risk,
low-reward change. Have "undone" the change with the given
"Original-Change-Id" as a result.

Bug: 2735276
Change-Id: I1f6089a1319180aed7d6fdbcf182c5fbe4b49abb
Original-Change-Id: Ifa30615c1cca5f6f19e4d1d0c071e4e256b3151b
2016-04-19 18:33:12 -07:00
Kevin Hufnagle
8998fe68b1 docs: Improved description of "package" attribute (manifest).
The description of the "package" attribute for an Android
application's <manifest> element now states more clearly that the
Android package name and the Java package name(s) used in the app's
classes do not need to be the same.

Bug: 2735276
Change-Id: Ifa30615c1cca5f6f19e4d1d0c071e4e256b3151b
2016-04-15 15:00:55 -07:00
Joe Fernandez
d00f005049 Merge "docs: InfoPros, Project 02, Batch 03" into mnc-mr-docs 2016-04-11 16:24:36 +00:00
Joe Fernandez
7adb4c8a45 docs: InfoPros, Project 02, Batch 03
- Removing API 15 and lower work-arounds

b/26490262

Change-Id: Ie8ca92bbff68ca3bc67d2b81164d970058a8a8a8
2016-04-11 09:21:03 -07:00
Jesse Hall
2112afe75c docs: Remove texture compression formats that don't exist
Bug: 27906767
Change-Id: Ifb3d7f0455a4349e76727c497d52f3d0d5fa8838
2016-04-09 21:01:39 -07:00
Kevin Hufnagle
c9afecdff9 Merge "docs: Corrected reference link for NotificationManager.notify()." into mnc-mr-docs 2016-03-31 15:14:12 +00:00
Kevin Hufnagle
88e19d1670 Merge "docs: Fixed Marshmallow links in API level table." into mnc-mr-docs 2016-03-31 15:12:32 +00:00
Kevin Hufnagle
908d74a3b2 docs: Corrected reference link for NotificationManager.notify().
The end of the first paragraph of the "Creating a Notification"
section (within the "Notifications" page) now links to the correct
version of notify() -- i.e. the one within the NotificationManager
class.

Bug: 27708810
Change-Id: I7cc9608f646518bf5f7fc3f4a231c9dece693363
2016-03-30 14:35:57 -07:00
Elliot Waite
abb9f4db5a Merge "Change colons to equals for custom_link_attributes." into mnc-mr-docs 2016-03-30 18:37:01 +00:00
Miao Wang
f2988f59f4 Merge "[RenderScript] Update documentation about API level and RS Support Lib." into mnc-mr-docs 2016-03-30 02:50:23 +00:00
Miao Wang
a51f9c0418 [RenderScript] Update documentation about API level and RS Support Lib.
Bug: 22767853

  - Correct the description about renderscriptTargetApi: Use the lowest
    API level providing all the functionality in the code.
  - Update the sample gradle config to use the up-to-date and stable
    version of Build-Tools.

Change-Id: Ie8008acafb270fda9e2c928953568461f6f6f476
2016-03-29 14:51:02 -07:00
Kevin Hufnagle
d9ad75f5b0 docs: Fixed Marshmallow links in API level table.
The table listing the different Android API levels (within the
"<uses-sdk>" page) now contains accurate links for "Android 6.0" APIs
and "Platform Highlights."

Bug: 27725763
Change-Id: I7cc9734b84ac530223a6bae58aed0072dcd214aa
2016-03-25 16:42:34 -07:00
Elliot Waite
fe1d89f339 Change colons to equals for custom_link_attributes.
Change-Id: I9f4ca9d0df9e7b358af28ded8cf6d992e38a0650
2016-03-24 14:57:24 -07:00
Kevin Hufnagle
1070ed402c docs: Fixed resource/theme value syntax.
Within the "Resource values" sub-section within the "File Conventions"
section of the "App Manifest" page, changed the separator between the
name/value pair for resources and themes such that it is now
consistently a '/' character.

Bug: 27070041
Change-Id: Ie299fbb866b9de3afaffa8fb70e3ca3709c45735
2016-03-23 03:35:30 +00:00
Elliot Waite
0bee3d2997 Merge "docs: Add _book.yaml files for DevSite navigation" into mnc-mr-docs 2016-03-23 01:05:11 +00:00
smain@google.com
098de48e2b rename "sdk version" to "api level" and add useful links
Change-Id: I824492278c2673ff08ffb12932071f6bdc3798fa
2016-03-18 14:39:31 -07:00
Elliot Waite
20d6d77242 docs: Add _book.yaml files for DevSite navigation
Change-Id: I02a5fe5bb5fe3e968870cec8898deee9e7d8a82d
2016-03-17 17:23:21 -07:00
Kevin Hufnagle
4a0f5c88d6 docs: Added curly brace in sample code method opening.
Added a curly brace at the beginning of "onProvideShadowMetrics()."
This method appears within the sample code associated with step 2 of
the "Designing a Drag and Drop Operation" section of the topic.

Bug: 24561657
Change-Id: Icb06a65f63bc57c747bb6f244f6b623c17bdfc45
2016-03-16 01:14:15 +00:00
Glenn Kasten
3941eb57c9 Update feature list for audio and MIDI
Change-Id: I78567ae8de8375af11436d8c8579dcc3f7aa7a6c
2016-03-10 07:44:56 +00:00
Andrew Solovay
a77d6a94bb docs: Added missing REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission
While checking the manifest for N permissions changes, I saw a
normal permission that had been added in M and not documented.
(The permission was added to AndroidManifest.xml, so it *was*
being listed in the android.Manifest javadoc.)

See first comment for doc stage location.

bug: 27222922
Change-Id: I5740fdb3da3cac37b15d87fe5f092d305c52449d
2016-02-17 12:49:25 -08:00
Andrew Solovay
019375b5d7 docs: Re-sorting list
List of normal permissions had drifted from alphabetical order;
fixed.

See first comment for doc stage location.

Change-Id: I031d1142275c9fd53a2ce16fcd54fdcf206d03a7
2016-02-17 11:31:38 -08:00
Eric Schmidt
e32497ba43 Merge "docs: Replaced ?s with quotation marks." into mnc-docs 2016-02-09 01:34:23 +00:00
Eric Schmidt
68ab2f8263 docs: Replaced ?s with quotation marks.
Bug: 26349836
Change-Id: I00a742cd6bee9d4c9882ee953267e75e195e3bfc
2016-02-08 15:30:30 -08:00
Florian Salbrechter
adde150c02 Fix bug in IntentService and Service example code.
Use Thread.sleep instead of Object.wait which simplifies the example.
Also there is a tiny chance, that wait will be called with 0, which
blocks forever.

Change-Id: I4cf90a33089a64bdf802620350f76af08f15f721
(cherry picked from commit 77d8857ed58503669e0659989c02fb7f1ca936b4)
2016-02-08 17:03:23 +00:00
Dan Dascalescu
2bcde9fa9a Merge "docs: Fix typo "allows the application can recognize" -> to" into mnc-docs 2016-02-05 23:20:53 +00:00
Dan Dascalescu
2c506fcf9d docs: Fix typo "[singular] attributes specifies"
bug: https://code.google.com/p/android/issues/detail?id=196193
Change-Id: I69fb6dcb6bbb5912ef3f3697d0b658e07ebddfa4
2016-02-04 18:38:19 -08:00
Dan Dascalescu
4de6c74fc0 docs: Fix typo "allows the application can recognize" -> to
bug: https://code.google.com/p/android/issues/detail?id=28854
Change-Id: Ifee2f44309c880ffe1f9df55b4a2a7fb3ae7c149
2016-02-04 17:39:17 -08:00
Dirk Dougherty
31ae1c518f Doc change: adjustments for design updates.
Change-Id: Ic798228a75ba2ab692fd3e36034606c04651c20c
2016-01-28 17:10:09 -08:00
Joe Fernandez
08320015f8 docs: Eclipse ADT removing and replacing mentions
Batch 05, Project 01 with InfoPros

b/25192800

Change-Id: I6cce84d8498ba9f0aa488b8d43b7b832e58fe899
2016-01-14 09:48:30 -08:00
Dirk Dougherty
1fea1ec829 Doc change: edits to permissions and ids guidelines.
Change-Id: I0de247d182f54b92dcb5509b224d5b848cfafb89
2016-01-13 23:17:15 -08:00
Dan Dascalescu
4c6a234e10 Merge "docs: Add missing "classes" to Content Provider Basics" into mnc-docs 2016-01-13 20:39:38 +00:00
Dan Dascalescu
559f506486 Merge "Fix typo "pass" -> "passes"" into mnc-docs 2016-01-13 20:39:14 +00:00
Dan Dascalescu
226f1c4f9a Merge "Fix typo "required by you" -> of" into mnc-docs 2016-01-13 20:37:56 +00:00
Dan Dascalescu
79c4164c9d Merge "Add missing "from" in Content Provider Basics" into mnc-docs 2016-01-13 18:20:16 +00:00
Dan Dascalescu
dc19588da1 Merge "docs: Fix typo: remove "a" from Activities" into mnc-docs 2016-01-13 18:19:51 +00:00
Dan Dascalescu
c4e6e8eaeb Merge "docs: Fixed typo" into mnc-docs 2016-01-13 18:19:27 +00:00
Dan Dascalescu
e9956f251a docs: Add missing "classes" to Content Provider Basics
Also uppercase "Uri" to "URI"

bug: 26339372
Change-Id: I822889f490356cd680a0b29c2b66429d5888e654
2016-01-12 16:54:25 -08:00
Dan Dascalescu
40ef11b384 docs: Fix typo: remove "a" from Activities
bug: 26097787
Change-Id: I00049d80627aea6f7e8481fed4bbf7831d7abdc2
2016-01-12 16:46:29 -08:00
Dan Dascalescu
07e36d8527 Fix typo: add "the" in Content Provider Basics
bug: 26339577
Change-Id: Idb94dc2399338394820b2a21592e011308f7b01e
2016-01-12 16:42:00 -08:00