133 Commits

Author SHA1 Message Date
Adarsh Fernando
4b6d939321 Docs: Cleanup of Preview language in Android 7.0 docs.
bug:31647521
Change-Id: I882f7d7cb5bb1ddcc18ddbc29b17edbbbd84131a
2016-09-21 21:58:46 +00:00
smain@google.com
14f51a724e revisions to the Building Your First app class with feedback from mpawlan (thank you!)
stage: https://android-dot-devsite.googleplex.com/training/basics/firstapp/creating-project.html

Change-Id: I40ce201553226fa36477e54b82721bc6cc85b88b
2016-09-07 21:09:27 +00:00
Mark Lu
95698f127a docs: fix code snippets in SQL Databases page
In the "Saving Data in SQL Databases" page, this commit makes the
following updates:
-the create snippet now includes the subtitle column
-the insert and query snippets no longer references undefined variables
-the delete snippet now references the table with "FeedEntry.TABLE_NAME"

Bug: 25856493
Change-Id: I4fdf8e271a1141776c2427c0b3fef8ec403dc423
2016-08-08 15:35:57 -07:00
David Friedman
f3851c1670 Docs: Migration of N docs to about/versions/
With the transition from N Preview to actual Nougat Release, this CL moves
the high-level overview files from the preview directory into the
about/versions/ directory, under which an archive of current and previous
Android versions' changes resides.

Change-Id: I42373b0302e953f8166c62e7c8422f2481322240
2016-07-27 18:35:22 -07:00
Andrew Solovay
dda5e4b1ab docs: Moving multi-window docs out of N Preview area for N release
Also setting up redirects, and making necessary changes to other
docs (e.g. drag-and-drop) to account for new feature. Added "see
also" links to a few appropriate pages.

See first comment for doc stage location.

Change-Id: I2a57767a12cf944713c52cddc8422414ce595b2c
2016-07-27 15:55:47 -07:00
Mark Lu
08d1bff71f docs: updates to Buildilng Your First App doc
This commit includes the following updates:
- replaces Basic activity with Empty activity
- uses default values wherever possible
- removes instructions for floating button
- removes SDK instructions. Users must use Android Studio
- updates the SDK version to API 15
- combines some instructions that were too text heavy

Bug: 29766869
Bug: 29768686
Bug: 19154557

Change-Id: Id819cb2dde74b68b5145dfefe7a8502892bb377a
2016-07-25 10:15:04 -07:00
Mark Lu
c4a0139e26 docs: remove trailing white space from jd files
Change-Id: Id7fb958460bf2f28d88c6120df0395690f32783a
2016-07-18 10:42:11 -07:00
Hemal Patel
e9ec18cd9f Merge \\"Docs: Changed Blank Activity to Basic Activity\\" into mnc-io-docs am: 93dd99c6aa
am: 92c664b13d

Change-Id: I52034f812994545893e6e4e8a9de9de79f593bb2
2016-07-11 23:32:21 +00:00
Hemal Patel
8d25dddf8a Docs: Changed Blank Activity to Basic Activity
As per Android Studio's latest version, Blank Activity is renamed to
Basic Activity. Hence, fixed step 6 to reflect the change.

Bug: 28177899
Change-Id: I824d60f936975645cd9116e8443771b68e132af9
2016-07-11 15:00:03 -07:00
Mark Lu
3b6a1a624c docs: fix syntax error in "Saving Files" document
The second code sample in section "Save a File on Internal Storage"
is missing a "}" brace in the try block. This commit adds the brace
to all languages of the document.

Bug: 25963385
Change-Id: I4b83ad7e7e081c0e3f036c5b9a36c8ff5489754b
2016-06-23 18:32:33 -07:00
Aurimas Liutikas
a53fc1f2c0 Merge \\"Fix a spelling error in Supporting Languages page.\\" into mnc-io-docs am: ab239a0c1a
am: 5699312627

Change-Id: I7e7e4777b0475a7c2dd242370a6900cfd4457f90
2016-06-14 00:57:28 +00:00
Aurimas Liutikas
12edbe1751 Fix a spelling error in Supporting Languages page.
Bug:
https://code.google.com/p/android/issues/detail?id=71378

Change-Id: I82bc1b3e9b20fdafc74ef544e5bde4f22c47f2e3
(cherry picked from commit 52eae0ac1e78fc22cae962a99d19ed6f33d2a2da)
2016-06-09 16:44:21 +00:00
Eric Schmidt
28bdf2907a Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs am: 8e08dbe8f8
am: 400aed3556

* commit '400aed3556d837e746252e1be03dd1ac54a383e5':
  docs: Removing CLI steps in getting started docs

Change-Id: Id585f59925373bda46a34c9bd6811603ea5ee66a
2016-05-26 19:35:13 +00:00
Eric Schmidt
18e457900b docs: Removing CLI steps in getting started docs
Bug: 22875456
Bug: 21026809
Change-Id: I8f4fcca73c779407aac0b96299c60f8d6adae214
2016-05-26 18:50:51 +00: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
Kevin Hufnagle
90fa73b6d6 Merge "docs: App Translation API updates" into mnc-docs am: 1ede811143 am: ec6effa1b0 am: 70f2e39008
am: e60af6b9e2

* commit 'e60af6b9e2645144cda30c5e54a1267f05ac1d0d':
  docs: App Translation API updates

Change-Id: Idc2ad381a5105b6502f3c37b08ec30ebbf6568eb
2016-05-13 17:20:42 +00: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
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
Kevin Hufnagle
540877194b docs: "Result is:" paragraph now in correct position on page.
The "Building a Simple User Interface" page now displays a paragraph
with the text "The result looks like this:" in the correct location
(i.e. after the steps for "Create a Linear Layout").

Bug: 26778824
Change-Id: Ib2a94975bd867897ce4382da6347584d578b3d11
2016-03-31 09:28:04 -07:00
Kevin Hufnagle
2cbb086901 docs: Removed dead link in "create project" TOC.
The TOC on the "Creating an Android Project" page is now updated such
that all of the links direct readers to a useful area on the page.

Bug: 27302059
Change-Id: Ideefaa78541e966f788bb9fc28a1080f2cd5ce50
2016-03-30 15:20:49 -07:00
Janis Danisevskis
d24382984d Document restricted app private file permissions
Make the docs reflect changes in private file access permissions.

Starting with API level 24 app private files are exclusively accessible
to the owning app. Files can no longer be shared by name because apps
cannot relax the files system permissions.

Bug: 27636012
Change-Id: Iac80504b06f6e37ce109222092f77788ed388393
2016-03-23 10:33:35 +00:00
Jeff Sharkey
190d0468b0 Revert "Document restricted app private file permissions"
This reverts commit c83343f7ee333376d23a2bbc619d3b4e6b7a6120.

Change-Id: I08961a1cb858868e104214ce3d0aa3cfcbb054bc
2016-03-22 21:22:39 +00:00
Janis Danisevskis
c83343f7ee Document restricted app private file permissions
Make the docs reflect changes in private file access permissions.

Starting with API level 24 app private files are exclusively accessible
to the owning app. Files can no longer be shared by name because apps
cannot relax the files system permissions.

Bug: 27636012
Change-Id: Ibcb5032986c819829fa13ba07a74f20f2997e995
2016-03-22 16:53:21 +00:00
Kevin Hufnagle
53cd980fe5 docs: Added missing closing parenthesis in sample code
The code sample within the "Return a Result" section of the "Allowing
Other Apps to Start Your Activity" page was missing a closing
parenthesis at the end of the second line. This parenthesis should now
appear.

Bug: 26845664
Change-Id: Iec58b86889d6e8fa6ad5327678d5e6d63d34f85f
2016-03-18 15:25:09 -07:00
Joe Fernandez
a1a9fd19df docs: InfoPros Project 02 - Batch 02 updates
b/26490262

Change-Id: I3838f0c96ed687684457d2c56044148f56a29f8d
2016-03-14 23:06:32 -07:00
David Friedman
7c6b7f7b0e Docs: Corrections to Android Studio "Getting Started"-type documentation.
Bug: 25458018

Change-Id: Ibbecffc00461ba61e3f5f596b34a7b049b9193ec
2015-12-17 00:23:18 -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
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
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
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
Claudio Cherubino
b6e91dfae0 Trying to help clean up the public issue tracker (and show some love to external developers) by taking care of a bunch of typos that were reported.
List of issues from https://code.google.com/p/android/issues that are fixed by this CL: 183476,183249,183248,183241,183222,183142,183093,183329,182385,182311,182193,182019,73149,181589,179740,179384,178322,178189,178086,178020,177169,176312,175138,172322,172030,171820,170647,167288,163574,161580,161041,159199,151347,144290,136137,132505

Change-Id: I2e96f7444048abd2f666c75bd6ab9640019afb75
2015-08-21 14:49:09 -07:00
David Friedman
eaabddf121 Docs: Fixing files that didn't merge properly from mnc-preview-docs
Change-Id: If1a97d8da5a8e7f65293bc34e1a1646f06a48043
2015-08-17 18:45:36 -07:00
Chris Banes
4b201a5731 resolved conflicts for merge of cbc1ac33 to master
Change-Id: I107320a07a1646f2ddc3a288b13ae58c538d96e6
2015-02-18 11:32:48 +00:00
David Friedman
6af7418624 am a6614a12: am 53ec037f: am 03efba0e: Merge "This file is misplaced, and serves no purpose. I am sending it to oblivion." into lmp-docs automerge: efb69b0 automerge: 40191d8
automerge: cdf0774

* commit 'cdf0774314842eb16f8db2b822a6d6538f17090e':
  This file is misplaced, and serves no purpose. I am sending it to oblivion.
2015-02-17 23:41:29 +00:00
Rich Slogar
9911aa5125 Merge "docs: studio training basics create and run project updates" into lmp-docs 2015-02-17 23:40:36 +00:00
David Friedman
d350c5ced5 This file is misplaced, and serves no purpose. I am sending it to oblivion.
Change-Id: I91ed7bc228849f3181591357037b368b4b261eee
2015-02-12 21:30:59 -08:00
Joe Fernandez
7a0e01d41a am 1a9bf5c1: Merge "docs: training intent doc error update" into lmp-docs automerge: f02a8d9 automerge: cacf7da automerge: 346a9a2 automerge: f4b2bd4
automerge: 14437e4

* commit '14437e4781fea9688b7c68ec6c3201e8a926ab04':
  docs: training intent doc error update
2015-01-31 04:25:18 +00:00
Rich Slogar
453467ac9c docs: studio training basics create and run project updates
b/18742781

Change-Id: I80a207e24330c1b073934d671b3b9c94b0fb28e0
2015-01-30 17:14:25 -08:00
Rich Slogar
367bfb3b50 docs: training intent doc error update
b/18386294

Change-Id: Id0fb07e567e0f698e786ac57a19c60895f4d6fc1
2015-01-30 16:55:55 -08:00
Narayan Kamath
93bb5419aa Merge "Remove references to apache-http from various documents." 2014-12-12 14:56:44 +00:00
Narayan Kamath
56eb989791 Remove references to apache-http from various documents.
Most of them are pointless links to a "text/plain" constant which are
far clearer when inlined with the relevant text.

Change-Id: Iaed51b4548cb2836741106dc19c9cf500c205d32
2014-12-12 14:55:18 +00:00
smain@google.com
984972fadc am 9a6d1d9f: am c0f96532: am 8cd0bb2d: Merge "add helpouts widget to wave 3 pages" into lmp-docs automerge: e04a9fc automerge: bac113b
automerge: c73a65d

* commit 'c73a65d61892542ece0dd9b95000048517f36c02':
  add helpouts widget to wave 3 pages
2014-12-11 10:21:47 +00:00
smain@google.com
1f933dd0cf add helpouts widget to wave 3 pages
Change-Id: I83c1a0af4975a4544a7f7dcb745bf5fbdf173c6e
2014-12-10 10:21:36 -08:00
smain@google.com
b56db728fa resolved conflicts for merge of c137d08c to master
Change-Id: I1addaa7b46e893014eca23746c6bf5f7e71dc2ca
2014-12-09 14:19:57 -08:00
smain@google.com
35ee301889 revisions to Studio landing page
Change-Id: I608b8a63b826f2f2ee2603d7426b501a4df24a38
2014-12-08 01:26:21 -08:00
smain@google.com
59a3dd7b0e misc fixes for studio launch:
update install instructions, update tools nav for AVD page,
update AVD instructions in first app class, other edits to first app.

Change-Id: I086bf63dddc9f653ce06db29eec9998dfa265040
2014-12-08 00:33:15 -08:00
Rich Slogar
f7f20a4557 docs:building your first app [CP]
Change-Id: I3d810d0043be59a1eecfac7c02631542e9408f01
(cherry picked from commit 0215606d8d58b93d07550ff6e857442306b96aae)
2014-12-06 09:29:50 +00:00
Scott Rowe
e829d8fca6 docs: Training refactor for Android Studio [CP]
Cherrypick from lmp-docs hange-Id: I4c396b1a6b689a32b5a3328e9948f363ebb1e37d, from lmp-dev Change-Id: I830da649d9fac2b87eff5ee5cfc3422d5ab65ffc, Cherrypick from klp-modular-docs Change-Id: Ifaae51e4fa3afbef3d81d260135fd348a6ccb612

Change-Id: I09a9473d73eb9c27ee6966b2a0e1cd736575db06
(cherry picked from commit 8c068aeee06efd2ce0827c81e5919e90358c56e3)
2014-12-06 08:55:21 +00:00
Rich Slogar
0215606d8d docs:building your first app
Change-Id: I3d810d0043be59a1eecfac7c02631542e9408f01
2014-12-05 19:39:09 -08:00