1134 Commits

Author SHA1 Message Date
Quddus Chong
57d8fb2deb docs: Removing obsolete Notepad tutorial.
bug: 18940278, 1426263, 1426251

Change-Id: Id47439071454f333129465d88eee5ab45fecce5d
2015-10-19 16:07:36 -07:00
Dirk Dougherty
caa32fa05e Doc change: updates to Doze/Standby cases.
Change-Id: I30c9e0440e0a4bf3fc6bb1fa78b2a85baad3b357
2015-10-16 10:08:55 -07:00
Joe Fernandez
21c95b65b7 Merge "docs: APP basic file structure" into mnc-docs 2015-10-16 02:51:08 +00:00
Joe Fernandez
8f15feef61 docs: APP basic file structure
Change-Id: I98e942bd6d95e2764b47eea602634c13c79ee798
2015-10-15 19:47:32 -07:00
Andrew Solovay
d2ac2daeba resolved conflicts for 0f76f78f to mnc-docs
Change-Id: Ic513baabda9afb386a90fed03ff3be6658c01933
2015-10-15 19:22:41 -07:00
Andrew Solovay
ae87b8d621 am 88b783d0: Merge "docs: Removing obsolete ActionBar training" into mnc-preview-docs
* commit '88b783d007045f2635c467461e9518bf30ed6adc':
  docs: Removing obsolete ActionBar training
2015-10-16 00:09:19 +00:00
Andrew Solovay
0f76f78f82 Merge "docs: New action views/action providers doc" into mnc-preview-docs 2015-10-16 00:02:21 +00:00
Andrew Solovay
88b783d007 Merge "docs: Removing obsolete ActionBar training" into mnc-preview-docs 2015-10-16 00:02:20 +00:00
David Friedman
ec787018c2 Localization of Android Material Design pages.
Bug: 19125767

Change-Id: Iadf0674c45d6328258f749f602096a4f32b8c8e1
2015-10-15 16:34:51 -07:00
David Friedman
8e69aaff7f Docs: Fixes instructions for manually putting device into Doze.
Bug: 24486809

Change-Id: Idec439cee19c070197b03cb49492ba8256059059
2015-10-14 19:49:26 -07:00
Andrew Solovay
22c024657d docs: New action views/action providers doc
Replaces the existing action views/action providers section in the
(soon to be removed) "ActionBar API Guide" page. Builds on
http://ag/730414 (which covers the basic app bar topics).

Some of the action providers doc is being moved into the
Javadoc reference for appropriate classes--that's being tracked
with CL http://ag/748902

See comment on patch set 2 for doc stage location.

Change-Id: Ia62b5155d7f67dc8922fc11917a12a957bf27fb1
2015-10-14 18:11:01 +00:00
Daniel Yu
56e345a7ad docs: Fixing putBitmap() doc bug 19129506
Fixing erroneous putString() call, replaced with putBitmap().
Confirmed in search that error is not present elsewhere in the docs.

Bug: 19129506
Change-Id: I00152480cbdcd1b655c093e789a0462d80d5f829
2015-10-12 15:55:23 -07:00
Dan Yu
bc35ea14eb Merge "docs: Fixing controller support example for bug 22727418 and 24098562" into mnc-docs 2015-10-12 16:27:38 +00:00
Daniel Yu
ff5e334e7a docs: Fixing controller support example for bug 22727418 and 24098562
As per Robert Anderberg's recommendation, removed the manifest example that
doesn't include android:required="false" and updated description text to
indicate the example works with apps that "support" a game controller rather
than "require". Updated Robert's suggestion with more concise version from
Andrew's suggestion. Note that we're not adding info on specifying
android:required="true" because this causes the app to not be installable on
any devices (because controllers aren't currently considered part of a device,
so it ends up looking like no devices have controllers at install time)

Bug: 22727418
Bug: 24098562
Change-Id: Ie4dd02d5599b9ffda53e46dc5af4765d888e81a4
2015-10-08 15:54:35 -07:00
Quddus Chong
d61e5537e0 docs: Fixed rendering issue in testing training TOC.
Change-Id: I30671ff929bff61165972500d54850966123b67c
2015-10-07 10:07:23 -07:00
Andrew Solovay
38335ba90e am b56f8113: docs: Documented DHU\'s --adb <port> flag
* commit 'b56f81136f7eb226e0eb5c4e3475c66b0f22b88f':
  docs: Documented DHU's --adb <port> flag
2015-10-02 23:37:18 +00:00
Andrew Solovay
b56f81136f docs: Documented DHU's --adb <port> flag
See first comment for doc stage location.

bug:23721209
Change-Id: If4ce6e72cce555b72176a77c9b3f2d552b71f54e
2015-10-02 15:57:23 -07:00
Quddus Chong
94f00b7535 docs: Fixed typo in the 'Optimizing Content for the Assistant' topic.
Change-Id: I2f878855f8583824422dbe6fe6b20fc444e43519
2015-10-02 10:14:07 -07:00
Dirk Dougherty
fa87851488 Doc change: edits to assist docs.
Change-Id: I5b2188c74b77606f8740ea5ebd198dceb74adda0
2015-10-01 21:54:56 +00:00
Andrew Solovay
d99391162d am 85ac0dd2: Merge "docs: Removed references to "Hello Views" tutorial guide" into mnc-docs
* commit '85ac0dd2abba1d6fec78a1eeecad4607d5364fe4':
  docs: Removed references to "Hello Views" tutorial guide
2015-10-01 18:18:52 +00:00
Quddus Chong
b2cba34fe0 docs: Fixed closing tag typo in app links training.
Change-Id: I08ababda4121205559e6443013cd222b7e4615f0
2015-10-01 09:18:36 -07:00
Andrew Solovay
37a4db8244 docs: Removed references to "Hello Views" tutorial guide
The "Hello Views" tutorial no longer exists, links to it redirect
to the "Declaring Layouts" API guide. Removing old links to that page.

See first comment for doc stage location.

bug: 21674339
Change-Id: I885a41fb3b213d4dc6257959d43dbf73e0c753bd
2015-09-30 13:14:27 -07:00
Dan Yu
1b393a5544 am 6db6920c: Merge "Adding link fix and removing typo for bug 20217070." into mnc-docs
* commit '6db6920c844a76f58e96e8dac0f245583745c6bd':
  Adding link fix and removing typo for bug 20217070.
2015-09-30 20:07:22 +00:00
David Friedman
2426891c01 Merge "Docs: Fixes a broken link on app-links page." into mnc-mr-docs 2015-09-29 19:02:28 +00:00
David Friedman
9d1e45e3d7 Docs: Fixes a broken link on app-links page.
Change-Id: I31ac12c706405171716c57527c134f16b11a0979
2015-09-29 12:01:05 -07:00
Daniel Yu
0e561c8a6b Adding link fix and removing typo for bug 20217070.
Added {@docRoot} to link. Removed extra "code>".

Bug: 20217070
Change-Id: I1228177bd79a395a341fe1ba5a997ae7b6038f9c
2015-09-29 10:36:27 -07:00
Quddus Chong
20b6d2b929 Merge "Docs: Correction to alarm-firing frequency info, restoration of "training nav"." into mnc-mr-docs 2015-09-29 17:21:47 +00:00
Quddus Chong
fab1d1bb8d Merge "docs: M release fixes. - Fixed M version code constant in API Overview. - Added 'Testing Display Performance' lesson to training TOC." into mnc-mr-docs 2015-09-29 17:17:22 +00:00
Quddus Chong
566b54126c docs: M release fixes.
- Fixed M version code constant in API Overview.
- Added 'Testing Display Performance' lesson to training TOC.

Change-Id: I4feced439f4804b037d2fc7713e2c58c003e2aee
2015-09-29 10:15:42 -07:00
David Friedman
1b75a3667f Docs: Correction to alarm-firing frequency info, restoration of "training nav".
Corrected alarm-firing info to reflect that alarms don't fire more than
once per 15 minutes in Doze. Also, the "Previous   Next" had gone away from
the top-right nav box. This CL also fixes that regression.

Change-Id: Ied35284dd14a926adce8847beb039513ffc370f3
2015-09-29 10:10:10 -07:00
Dirk Dougherty
059e3905bb Doc change: add article about assist API.
Change-Id: Iaf1683ca32c4ce426e2ffad1786135c69b274536
2015-09-29 10:06:28 -07:00
Dirk Dougherty
5cd8cb0279 Doc change: updates to mm pages.
Change-Id: I676cb362c3efc0cff5ebb1c494a03bf1c117f0e5
2015-09-29 03:04:41 -07:00
David Friedman
0da7ba4182 Merge "Docs: Continuing revisions to Auto Backup doc for Android 6.0 release." into mnc-mr-docs 2015-09-29 06:44:56 +00:00
David Friedman
89c44d205d Docs: Continuing revisions to Auto Backup doc for Android 6.0 release.
This CL is a continuation of work for b2/23623580, and picks up where
ag/767033 left off.

Change-Id: Ib0c757a6c21146ef1b026b26259dc08cdd6feb2e
2015-09-28 23:31:48 -07:00
David Friedman
76b6a197e9 Docs: Android 6.0 release updates to Doze/App Standby. Continues b2/ 23725346
Bug: 23725346
Change-Id: I0179e5ab7a6816367b15730102fcf0b385cebd66
2015-09-28 22:45:12 -07:00
Andrew Solovay
2e3e2b4d02 resolved conflicts for d32f3baf to mnc-mr-docs
Change-Id: I2a919c2c881cc299ebc80fb66121756646e64adb
2015-09-28 18:34:40 -07:00
Dirk Dougherty
1a5ac2db40 Add guidelines for Doze and Standby.
Change-Id: Ib0f0d388be104b763c49341229edc6c8faa7c699
2015-09-28 17:52:15 -07:00
Andrew Solovay
d32f3baf2b docs: Removing reference to Apache HTTP client
With Android M, the Apache HTTP client is no longer supported.
Removing references to that client and the clients that depend
on it (DefaultHttpClient and AndroidHttpClient). Replacing, when
appropriate, with references to HttpURLConnection.

Also removing references to the 2011 blog post "Android's HTTP
Clients" (https://goto.google.com/cusll) since that post is largely
about the ex-clients.

Fixed a couple of other small errors while I had the files open
(for example, changed a sample URL in a code snippet to the safe
www.example.com).

bug: 19696844
Change-Id: Iabf780140c37d5fc95c0d45542c425a945c69337
2015-09-28 17:25:27 -07:00
Quddus Chong
c5f82010f7 docs: Misc. fixes for Android 6.0 OTA release.
Change-Id: I5fae8f096eb08f6ccea2ecff4aca15d07a9f8b41
2015-09-28 15:51:17 -07:00
Quddus Chong
1c7be2e20e docs: Updates to M-related docs for OTA release.
Change-Id: I023192e48ae16f036b2e2ff9befd36fd740dd33a
2015-09-28 14:42:19 -07:00
David Friedman
787012b78a Docs: Migrating, updating Auto Backup for Apps page for Android 6.0 release.
Bug: 23623580

Change-Id: I1c69b162542082936f2ea1aa2a7e79ed28a478ca
2015-09-28 11:35:19 -07:00
David Friedman
73ff05fb39 Docs: Migration of app-links doc from Preview to permanent Android 6.0 location
Bug: 23623573

Change-Id: Ie5748494af893a872241f21e4137f768ff4ca1ff
2015-09-28 10:41:44 -07:00
David Friedman
1c9f69fab6 Merge "Docs: Updating Doze/App Standby docs from Preview to 6.0 release" into mnc-mr-docs 2015-09-28 17:05:06 +00:00
David Friedman
fb546b083c Docs: Updating Doze/App Standby docs from Preview to 6.0 release
This change updates this page from M Preview 3 to official 6.0 release.
As part of this update, it also relocates relevant material from the
previously existing "Testing" page that was part of Preview.

Bug: 23725346

Change-Id: I3a875dcca6620956c5fbbff5610faa47ca7747e6
2015-09-28 09:40:53 -07:00
Michal Bendowski
77adda31e2 am f5d0ca1d: am abe8ecf4: Fix dependencies block in "Building Local Unit Tests"
* commit 'f5d0ca1ddfb5d80671211b580f5f0524029910be':
  Fix dependencies block in "Building Local Unit Tests"
2015-09-28 15:50:47 +00:00
Michal Bendowski
f5d0ca1ddf am abe8ecf4: Fix dependencies block in "Building Local Unit Tests"
* commit 'abe8ecf4ac4e036a408cd949138f002f7faabc4f':
  Fix dependencies block in "Building Local Unit Tests"
2015-09-28 15:43:02 +00:00
Michal Bendowski
abe8ecf4ac Fix dependencies block in "Building Local Unit Tests"
Change-Id: I47c10cd7013bfacc8285d21fcae35c2a77621fcc
2015-09-28 11:21:18 +01:00
Andrew Solovay
bd000061f0 docs: Removing obsolete ActionBar training
The action bar training classes are being superseded by the new App
Bar training, which uses the appcompat Toolbar. This CL removes the
obsolete docs. The new docs are covered by CL http://ag/730414 ; both
CLs will go live together. (There's a separate CL, http://ag/732803 ,
setting up redirects from obsolete pages to the new ones.)

There are a couple of topics in the old Action Bar API Guide which
are not yet covered by training, so this CL does *not* remove that
page--that'll happen when I add App Bar docs covering those areas.

Also changed links/references to the now-deleted pages where I saw
them--and while I had the files opened, changed instructions that
had told devs to use (now-deprecated) ActionBarActivity, and told
them instead to use AppCompatActivity.

See first comment for doc stage location.

Change-Id: Id548d8f483d85f2eef9f744d258ed113554eb6fc
2015-09-25 16:20:25 -07:00
Andrew Solovay
e2bd0b9907 docs: New permissions training class.
Describes how to declare that your app needs system permissions;
also describes how (on M and later) to request those permissions at
runtime.

There's a companion CL which updates various existing API docs for
the new M permissions model (http://ag/762405 ).

See first comment for doc stage location.

bug: 23725768

Change-Id: I7c3babdb9348969d1b0b019e7e9ef7116b04c658
2015-09-25 11:16:58 -07:00
David Friedman
2cbcb12cd0 Merge "Docs: File-migration (content changes follow in separate CL) for 6.0 release Bugs: 23725346, 23623580, 23623573" into mnc-mr-docs 2015-09-22 18:48:47 +00:00