100 Commits

Author SHA1 Message Date
Daniel Yu
f8a8260c0d docs: Updating TIF docs for new TIF Companion library.
am: e0810402fb

Change-Id: Ic44c96963d1dd172f07f6564a084ca731bf49762
2016-10-19 17:44:46 +00:00
Daniel Yu
e0810402fb docs: Updating TIF docs for new TIF Companion library.
The TIF Companion library makes creating a TIF app much easier, and
will be the recommended starting point for devs going forward. This
update adds docs on using this library, and modifies the existing
docs for creating a TIF app from scratch (for devs that can't use
the companion library).

Bug: 30678049
Change-Id: Iaa5a6d0a4c9f0f2faf1e30549aba754ced7cc27a
2016-10-06 10:01:54 -07:00
Elliot Waite
28d87163e1 Fix some at links.
Change-Id: Ia455e7edff115e9c5b8e531c3fe430114aeb3d8e
2016-09-20 17:12:13 -07:00
Dan Yu
f3f6921b57 Merge "docs: Add docs on OnboardingFragment" into nyc-dev 2016-09-15 16:13:22 +00:00
Kevin Hufnagle
0090727d95 docs: Added note about permission/feature changes with network/GPS.
As of API level 21, the ACCESS_COARSE_LOCATION permission no longer
implies the android.hardware.location.network feature, and the
ACCESS_FINE_LOCATION permission no longer implies the
android.hardware.location.gps feature. Updated several docs
accordingly.

Bug: 28052540
Change-Id: Ia86dfd390f85c7a99b50af862d5096f0ac64a133
2016-09-08 15:53:15 -07:00
Daniel Yu
d64f8bfe1f docs: Add docs on OnboardingFragment
Add a dev guide for OnboardingFragment, used to show
information to a first-time user in an Android TV app.

Bug: 26488857
Change-Id: I91305bf4013090e84c8771206f1144d210c038db
2016-08-24 16:45:36 -07:00
Daniel Yu
4900647321 docs: Migrating TV Recording APIs preview docs into DAC
For Android N release, migrating and updating TV Recording
API preview docs into regular DAC TV (TIF) docs. Updating
training TOC and adding redirect. Removing preview/features doc.

Bug: 30224466
Change-Id: Ia92f27467ccaa1d36dc69c5bd3c784509f267791
2016-07-27 12:37:45 -07:00
Daniel Yu
e0fa75cfa7 docs: Migrating PIP preview docs into regular DAC docs
For Android N release, migrating and updating PIP preview docs
into regular DAC TV docs. Updating TOCs and redirects as well.

Bug: 26487936
Change-Id: I00a57cc0bfff6929cdba56ce00a6a5e9a292e345
2016-07-27 10:58:10 -07:00
Dan Yu
7579d70ca1 Merge \\"docs: Adding Android TV App Link docs\\" into mnc-io-docs am: e0b687048f
am: 68ef31fc36

Change-Id: I29f43f45d3412baf252af2b11d3cf4ec18025838
2016-07-11 21:20:57 +00:00
Daniel Yu
4099b2a581 docs: Adding Android TV App Link docs
Adding docs for app links for ATV channel apps in
updated Channel Data topic. Adding screenshots and
diagram of app link card.

Bug: 23574268
Change-Id: I00ae953e1ec44352eaedb070c8ffd9bd02b13d7d
2016-07-11 12:55:49 -07:00
Dan Yu
24d5e1b9ec Merge "docs: Updating GuidedStepFragment for 23.2, new action types" into mnc-io-docs am: 160ce9413c
am: 2ad3221e5f

* commit '2ad3221e5f982dd0b9213c7e600d6186a1a9ea23':
  docs: Updating GuidedStepFragment for 23.2, new action types

Change-Id: Iaf555b61ddb9fc6706a67775e76106c8187b4d27
2016-05-31 17:21:48 +00:00
Daniel Yu
0cc7c69bf7 docs: Updating GuidedStepFragment for 23.2, new action types
Adding docs for some updates for GuidedStepFragment and GuidedAction
done in support lib v23.2. Includes docs on date picker actions,
subactions (new subsection), button actions (new subsection).
Adding docs for popBackStackToGuidedStepFragment and
finishGuidedStepFragments convenience methods.
Also updating page keywords so this page has better search
discoverability.

Staged: https://android-dot-devsite.googleplex.com/training/tv/playback/guided-step.html

Bug: 26902886
Original SHA1: I792bbe6696cd144dbb6319b3c4eb44e67390217d

Change-Id: I57aeb9deb59bb2cdf5a062b24916b625e1553cf0
2016-05-27 13:44:04 -07:00
smain@google.com
e9746f7a6a Update links for all files under sdk/ that moved to studio/ am: 89d11705a1 am: d10e0132a1
am: 6c568e6322

* commit '6c568e632242e99eb255f721edcbec0223f9934d':
  Update links for all files under sdk/ that moved to studio/

Change-Id: I2acd1acd6fef98c527ef4dfc0d016bb5cfa296cc
2016-05-15 03:11:46 +00:00
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
Daniel Yu
f09e309f7f Merge "docs: Fixing various minor issues" into mnc-mr-docs am: 9780f94 am: cf35d40
am: d563c25

* commit 'd563c253911b5ad86804b474acbc931d27572d2a':
  docs: Fixing various minor issues

Change-Id: Ied80c3fc5cbe1af6fce8a006af698170601bf292
2016-04-27 05:41:21 +00:00
Ryan Seys
47b26c6ee9 Merge "Fix a couple typos and clarify UI requirements for banner images" into mnc-mr-docs am: 7c9712b am: 97c3608
am: cef06ba

* commit 'cef06ba4ed9dde6c51f96f3d0c246c530c175ca3':
  Fix a couple typos and clarify UI requirements for banner images

Change-Id: Id67c91f881ab919d1428849102e4946ff0042530
2016-04-27 04:30:00 +00:00
Dake Gu
eb8d2fcb50 leanback: Fix link to changed API setTitle()
To match ag/952395.

Change-Id: I96cf9caa34bd560f14f7864201f3ac228cd2537d
2016-04-21 14:50:26 -07:00
Daniel Yu
ff091e1708 docs: Fixing various minor issues
Fixes to minor issues (typos and other things that don't require
editorial review) in Android docs.

Staged page URLs provided in CL comments.

Bug: 28172346
Bug: 22411462
Bug: 26422744
Bug: 26776224
Change-Id: Ic3aa8495a1d76a5ce3bccb5037b4172443664d0b
2016-04-20 11:00:37 -07:00
Trevor Johns
682c24e228 Resolve merge conflicts of a5060ee to nyc-dev
This undoes the automerger skip which occured in
commit e740c84dc32180214a7fd157105d6c18d30408ee and
replays it as a standard (NOT -s ours) merge.

Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
2016-04-19 02:03:59 -07:00
Ryan Seys
0bbb97dd15 Fix a couple typos and clarify UI requirements for banner images
Change-Id: Ibfe89c9f30ea274c613e17fbb03878d17fff3351
2016-04-18 17:04:40 +00:00
Dan Yu
b3631e96b6 Merge "docs: Updating Android TV recommendations docs" into mnc-docs 2016-02-01 18:12:42 +00:00
Daniel Yu
af541b9642 docs: Updating Android TV recommendations docs
Adding information about additional types of recommendations and
using recommendation grouping to best practices section.
Updated with fixes from Andrew.

Bug: 22797867
Bug: 19519975
Change-Id: I418447294d8022befa642efef81e4a2e776404d6
2016-01-26 14:28:57 -08:00
Daniel Yu
eefe46cd5a docs: Adding new page on using GuidedStepFragment
Adding information on how to use GuidedStepFragment to implement
a multi-step user UI on Android TV.
Updated with suggestions from Joe, Andrew, Dmitry and Dake.

Bug: 21209200
Change-Id: I8c1064b593466bf1373ed6c169343fe21afcaf9d
2016-01-26 10:29:29 -08:00
Dan Yu
c9722f8392 Merge "docs: Adding documentation for "gregarious mode" (background playback) for Android TV." into mnc-docs 2016-01-15 22:56:21 +00: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
Daniel Yu
bfc8636dfc docs: Adding documentation for "gregarious mode" (background playback)
for Android TV.

Formerly this was cherry-picked from Andy S's CL: ag/732685
Into a CL of mine: ag/838200
However, I somehow managed to create a CL that could not be merged
(it complains about "this change depends on changes that are not ready").
It's likely because I tried to revert an erroneous change Andy
made via git commands, and probably did something wrong there.

Anyway, I've copied my former CL exactly, but without cherry-picking,
so it's now a new independent CL that should be mergeable without
problem.

Bug: 21209207
Change-Id: Ib5c6e031f9a3e43ab80b05bfe1edbfd81d83e54d
2016-01-12 10:08:06 -08:00
Daniel Yu
e81f8ebd49 docs: Adding screenshot for Now Playing page
A follow-up to Chris Cartland's changes to the Now Playing
page (http://ag/831240 ), adding a supporting screenshot
that shows a Now Playing card with media in the background.

New PNG added at:
docs/html/images/training/tv/playback/now-playing-screen.png

Updated to use new version of PNG with more whitespace cropped
out (thanks Andrew!)

Bug: 26345930
Change-Id: I217fcc062f80734aebe32ec3a94ec7595756e78c
2016-01-05 16:28:43 -08:00
cartland
a1a18b12e2 docs: Fixes for TV Now Playing card, removing references to MediaBrowserService.
Bug: 23993096
Change-Id: I7cd48e83d2616f77dc56015e451556c591bf61cb
2015-12-28 16:19:20 -08:00
Dan Yu
d12709f395 Merge "docs: Fixing Android TV code snippet" into mnc-docs 2015-12-09 18:07:34 +00:00
Dan Yu
005125a80f Merge "docs: Removing info about settings activity for channel apps" into mnc-docs 2015-12-08 17:25:36 +00:00
Daniel Yu
d1840a36d0 docs: Removing info about settings activity for channel apps
Settings activity is no longer supported for channel services, so
we're removing that from the docs (and the sample manifest
snippet). Note that the Setup activity is still required, and
now serves double-duty for both channel setup and channel
settings, so I adjusted the section at the end accordingly.

Added updates based on review suggestions.

Bug: 21205118
Change-Id: Ia394b83cee0cb0e7ae6caf87c9d783eb6b4e04ef
2015-12-07 11:11:52 -08:00
Neil Fuller
71fbb81b14 Fix @code escapes
The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
2015-12-02 14:24:11 +00:00
Daniel Yu
c283670669 docs: Fixing incorrect bluetooth info for Android TV
Bluetooth is supported on all Android TV devices, so removing
docs that indicate that it's unsupported. Grep'd through all
DAC docs looking for other places where we claim bluetooth isn't
supported on Android TV, and found none, so this one topic change
is the only fix needed (I believe).

Bug: 24811556
Change-Id: I075d57002657fbaf47d20ecfee02148becbb55ef
2015-11-25 14:22:15 -08:00
Daniel Yu
13f03ae32b docs: Fixing Android TV code snippet
Changing code snippet to use FullWidthDetailsOverviewRowPresenter
instead of DetailsOverviewRowPresenter (which is deprecated).
Verified code snippet change by checking and building it in
Android Studio using an unrelated sample.

Bug: 25666843
Change-Id: I6db32a570757b7f8f1f848f7579b29617ffb18d6
2015-11-24 15:39:44 -08:00
Daniel Yu
ed4ff6be98 docs: New section explaining how to set the custom launch color of TV app
NOTE: Cherry picked from:
https://googleplex-android-review.git.corp.google.com/#/c/732032/

Contains updates incorporating all feedback from Andy's original CL.
Updated with suggestion from Andrew.

Bug: 21274505
Change-Id: If43ba81e770a39239108b8fa9731c2b4df3a9ae6
2015-11-19 10:41:14 -08:00
Dan Yu
f58e870efe Merge "docs: Adding Udacity link to Android TV training page" into mnc-docs 2015-11-19 00:43:53 +00:00
Daniel Yu
d81c5a520a docs: Adding Udacity link to Android TV training page
Updating Android TV training index page to include link and
thumbnail of Udacity Android TV training class video as
per this request:

https://docs.google.com/document/d/1PiJj4ZnAjW41oanl_NRlQNMHQLpyyg2SWt43WcWsbds/edit

Bug: 25398575
Change-Id: I187909ac7b23a85f99c5cf39bbf3cf0687ab2319
2015-11-17 14:58:42 -08:00
Daniel Yu
cc40d8cd86 docs: Fixing doc issue with Android TV overscan margin recommendations.
Recommendation is to provide a 5% overscan margin -- updating docs
to reflect this. Updated example diagram (manually edited, image
source not available). Added guidance on working with margins and
layout. Updated sample layout to include background root layout and
nested layout with overscan safe margin (tested with test app).

Bug: 18550276
Change-Id: I71b83b9a348385d68a7aacdce17f51a93227694d
2015-11-11 14:20:58 -08: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
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
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
Joe Fernandez
a246cf546d am 6e9eb723: Merge "resolved conflicts for 4f68b784 to mnc-preview-docs" into mnc-preview-docs
* commit '6e9eb7238d7e55e3cb643aac2cc9450ccbea7aa5':
  docs: ATV Catalog Browser Update
2015-09-22 17:11:02 +00:00
Joe Fernandez
2be96a1f66 resolved conflicts for 4f68b784 to mnc-preview-docs
Change-Id: I850c65b3f1491d332a7d677d8e04c1ade67f6ba4
2015-09-22 09:57:35 -07:00
Joe Fernandez
4f68b78406 am d13d50d8: Merge "docs: ATV Catalog Browser Update" into lmp-docs
* commit 'd13d50d881d66d0e870170c19a4e07ffe8aee742':
  docs: ATV Catalog Browser Update
2015-09-21 19:41:17 +00:00
Joe Fernandez
d13d50d881 Merge "docs: ATV Catalog Browser Update" into lmp-docs 2015-09-21 19:32:25 +00:00
Quddus Chong
49114c8d6b docs: Fixed broken link in 'Handling TV hardware' lesson.
bug: 20423603

Change-Id: Ia9de0354c72675f5e40071685cf3a6ee9a033f58
2015-09-04 13:45:36 -07:00
Quddus Chong
523e257614 docs: Fixed broken link in 'Displaying a Now Playing Card' lesson.
bug: 19555868

Change-Id: I0063c5a71e471b13dbe8e06054cbdc7dd8884b46
2015-08-27 13:02:52 -07:00
Robert Schaub
31186713e9 docs: Added "location" before "gps" in list under "Declaring hardware ..."
Bug: 20106795

Change-Id: I13e7be98722ac56a9175b1456fc018ff665b77ab
2015-07-15 17:13:11 -07:00
Robert Schaub
3ca7ad0bf1 docs: Changed text as requested in Android TV advertising bug, with minor cleanup
Bug: 19245688

Change-Id: Icd7c689dd8a99a761a247e603b76e20f6db9c2a8
2015-07-06 17:00:30 -07:00
Quddus Chong
a19933bc0a docs: Updated Recommending TV Content lesson to support card customization.
bug: 21787002

Change-Id: I3c94fbce2ac7efff1749b76af3da47506812972c
2015-06-19 14:03:20 -07:00