2220 Commits

Author SHA1 Message Date
Andrew Solovay
906eda45b2 Merge "docs: Fixed instructions on checking VM version." into klp-docs 2014-06-23 21:50:10 +00:00
Andrew Solovay
dccf940c4b docs: Fixed instructions on checking VM version.
Per IRogers@ , you check the VM version by calling
System.getProperty("java.vm.version") -- not, as previously
documented, "dalvik.vm.version" (Ian says there's no such property as
dalvik.vm.version.) BDC@ and/or AnwarG@, can you confirm?

Revised doc is staged to:

http://asolovay.mtv:9001/guide/practices/verifying-apps-art.html#GC_Migration

bug: 15836664
Change-Id: Ie5e2e058fa9ce033afd18a0f4079faa81bbf317e
2014-06-24 13:04:54 -07:00
Joe Fernandez
2d7b3dedd0 Merge "ExoPlayer developer guide" into klp-docs 2014-06-20 00:24:32 +00:00
Joe Fernandez
afe3bb96f2 ExoPlayer developer guide
Change-Id: Icacaa0e68e602fc77946e10729b3649baaf4331b
2014-06-20 14:28:54 -07:00
Andrew Solovay
4737af8b0a docs: Added "Verifying for ART" to TOC.
Now that "Verifying App Behavior on the Android Runtime (ART)"
(guide/practices/verifying-apps-art.jd) is published, also adding it
to the "API Guides" TOC.

You can verify it at

http://asolovay.mtv:9001/guide/practices/index.html

(...it's the last element in the "Best Practices" submenu.)

Change-Id: If7b445616768d17193309dbd3075b2630652ac96
2014-06-13 10:52:29 -07:00
Andrew Solovay
220cf297d8 docs: New "Verifying App Behavior on the Android Runtime (ART)" guide.
Contains information for developers to make sure their apps work properly
with the ART runtime.

This doc is staged to:

http://asolovay.mtv:9001/guide/practices/verifying-apps-art.html

This is intended to be a companion to the newly-expanded "Introducing ART"
doc on source.android.com (http://ag/469776), which has general information
about ART's new features.

Change-Id: I77c6e552cfedb13dee1d256fec15926fffcbbbb3
2014-06-09 10:10:27 -07:00
David Friedman
6a67b2beb2 Fixed typos. "describe"-->"describes"; "allow"-->"allows"
Change-Id: I7910b39dcd6c2bb2f8a68ac02f3ff305dd195874
2014-05-30 14:34:33 -07:00
Andrew Solovay
de0c99e89b Noted that OnSharedPreferenceChangeListener does not store a strong reference
to the listener.

Because of this, the listener is susceptible to garbage collection unless the
caller preserves a strong reference to it. We suggest that the caller store a
reference to the listener in an instance field of an object that will exist as
long as the listener is needed.

Also fixed code sample formatting in Settings.jd (some lines were overlong).

Docs are staged in:

http://asolovay.mtv:8901/guide/topics/ui/settings.html#Listening

http://asolovay.mtv:8901/reference/android/content/SharedPreferences.html#registerOnSharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener)

Bug: 10437648
Change-Id: I48f5b87fa2ca7a240661d0cc00114d225819d54d
2014-05-19 16:05:06 -07:00
Dirk Dougherty
3506ac87c0 Doc change: Updated content for distribute.
Change-Id: I612fbb8e5b7aedd73c0e633e5517bb89375760ed
2014-05-14 14:10:51 -07:00
Robert Ly
0689fad8cc Merge "docs: fix some notification code for wear stacks" into klp-docs 2014-05-10 02:40:40 +00:00
Robert Ly
37cb8d7530 docs: fix some notification code for wear stacks
Change-Id: Iea6b444480b161ab08a9ba02dbabb22773862cf0
2014-05-09 17:01:21 -07:00
Andrew Solovay
bff632c8ff Merge "doc: Documented how to set notification priority." into klp-docs 2014-05-09 21:01:08 +00:00
Andrew Solovay
3701cbef0f doc: Documented how to set notification priority.
This is related to change http://ag/459520, where I added info about appropriate
priority constants for setPriority(int)

Doc is staged to:

http://asolovay.mtv:8998/guide/topics/ui/notifiers/notifications.html#Priority

Bug: 13514649
Change-Id: I792e2f02614c88fbcfe1b0714a9c10da27eb6c37
2014-05-08 17:58:30 -07:00
Scott Main
f1bc39b8ae fix code error.
The data type was wrong, but it's actually not needed.

Change-Id: I50275fd16c72de42b75f24be6192ca974bd67488
2014-05-06 16:34:30 -07:00
David Friedman
5fb79db94e Fixed missing line break, broken link.
Bug: 13975265
Staged at: http://boku:9195/guide/topics/manifest/manifest-element.html

Change-Id: I69f7e56f9b261c776672161cfb1649c4cd72c96e
2014-04-25 14:02:16 -07:00
Andrew Solovay
fdc9e56ff8 Correcting name of 'Backup & reset' menu.
Doc is staged at
http://asolovay.mtv.corp.google.com:9000/guide/topics/data/backup.html#Testing

Bug: 14253720
Change-Id: Ib8eb213d8708c02c93c8bc93233db2c828caa925
2014-04-24 15:59:45 -07:00
Andrew Solovay
026c82b191 Doc: Fixed a code sample to use standard methods. Also some formatting
tweaks.

Added blank lines for readability, and broke some long lines
so code samples don't need a scroll bar.

(Update: Fixed indentation that I broke on a code sample.)

Bug: 14045051
Change-Id: I1cf08b899ec55f9093545e71861c84120e4b56a1
2014-04-22 19:29:07 -07:00
Andrew Solovay
3555e4aef0 Fixed a typo in a code sample.
Fix is staged to: http://asolovay.mtv.corp.google.com:9000/guide/topics/ui/actionbar.html#Dropdown

Bug: 14043905

Change-Id: I8b71d55d51bf88ab9790309e6e63e755d03b2c85
2014-04-22 00:04:39 +00:00
Ricardo Cervera
6aeea45497 Merge "docs: Added the play from search intent. Bug: 13473141." into klp-docs 2014-04-18 01:46:25 +00:00
Ricardo Cervera
a3b13847b0 docs: Added the play from search intent. Bug: 13473141.
Change-Id: Icf483b5e0446e064b32a782717408484d5806859
2014-04-17 12:31:18 -07:00
Joe Fernandez
55b38fadd0 docs: MediaRouteProvider Developer Guide
Change-Id: I04e63a8972e29d67af6035462fd2808a562ac241
2014-04-02 15:35:15 -07:00
Scott Main
b1088bfe8d Merge "update common intents guide to add calendar and alarms." into klp-docs 2014-03-31 21:47:45 +00:00
Ricardo Cervera
a7925384c3 docs: Added new sensor types. Bug: 10674725
Change-Id: Ib378e3a1b3f1812b966c53a0eda6319f1bea464b
2014-03-21 09:59:22 -07:00
Scott Main
52d5190052 fix typos
Change-Id: I28bcbf5ae5fade081d9b71701f5568145d700e9c
2014-02-26 10:34:54 -08:00
Scott Main
8ad4275640 update intent examples for maps
bug: 12661490
bug: 12957723

Change-Id: Ice25ef430901b155c00d59402c5f9f50dcb48390
2014-02-19 18:08:33 -08:00
Dirk Dougherty
271c8f12c8 Merge "Doc change: minor edits to support easier extraction of document summaries." into klp-docs 2014-02-12 23:20:41 +00:00
Joe Fernandez
f25bc75f59 Merge "MediaRouter Developer Guide" into klp-docs 2014-02-12 23:13:01 +00:00
Joe Fernandez
70a2adc817 MediaRouter Developer Guide
staging: http://joefernandez2.mtv.corp.google.com:8210/guide/topics/media/mediarouter.html

Change-Id: I764828066de8b233e61ad8a5d4a102a4d231fa82
2014-02-12 14:12:15 -08:00
Dirk Dougherty
3155825c25 Doc change: minor edits to support easier extraction of document summaries.
Change-Id: I1a15a1d233464d6c8d35a741c54932412dea28ee
2014-02-12 13:31:14 -08:00
Ricardo Cervera
670944aa72 Merge "docs: Added missing elements in uses-feature. Bug: 12913153" into klp-docs 2014-02-12 21:05:32 +00:00
Ricardo Cervera
15ab08f94a docs: Added missing elements in uses-feature. Bug: 12913153
Change-Id: Ib4d5a8bf5b80dcde68ffd031381b0104592b101b
Review: http://quixote.mtv.corp.google.com:8001/guide/topics/manifest/uses-feature-element.html
2014-02-07 10:48:17 -08:00
Ricardo Cervera
893ee42c72 docs: Updated the retaining an object during conf change. Bug: 10303533
Replaced use of deprecated methods with retained fragments.

Change-Id: I0f0a045da88f9817077070729ef0af283bea93e4
Review: http://quixote.mtv.corp.google.com:8007/guide/topics/resources/runtime-changes.html
2014-02-06 10:57:36 -08:00
Scott Main
22ad5f2139 update common intents guide to add calendar and alarms.
Change-Id: I515c6c982104f37b04ef0eddfd0ba8a99e619077
2014-01-17 16:41:16 -08:00
Joe Fernandez
acf2b906b3 Merge "Fixing bugs in MediaPlayer docs" into klp-docs 2014-01-16 22:46:17 +00:00
quddusc
cc29a17056 Merge "docs: Added missing links pointing to parent containers for <meta-data> manifest element. Bug: 11797515" into klp-docs 2014-01-14 20:29:28 +00:00
Ricardo Cervera
7a8acfa68e docs: Fixed typo in AlertDialog code snippet.
Bug-ID:10797361

Review URL:
http://quixote.mtv.corp.google.com:8001/guide/topics/ui/dialogs.html#AlertDialog

Change-Id: If93e140d624c2a4360a27bfae630f19fce24d7ab
2014-01-13 16:44:19 -08:00
Joe Fernandez
6bfef51318 Fixing bugs in MediaPlayer docs
- b/5967189
- b/10641397

Change-Id: Id21c3f13c312a3e5d5898d2be7855599cb8beff8
2014-01-06 15:23:47 -08:00
quddusc
c3e5498704 docs: Added missing links pointing to parent containers for <meta-data> manifest element.
Bug: 11797515

Change-Id: Id6491615166c6c6dd164083cd7357de790bb67c7
2014-01-06 14:30:59 -08:00
quddusc
be64abc025 docs: Added a statement for "android:name" attribute indicating that the descriptor strings are case-sensitive.
Bug: 11926096
Change-Id: I533dcbb13ba54bc7ff35311406b7acdfc38fc1b2
2013-12-20 15:14:42 -08:00
quddusc
8b03f63a0f docs: Added missing elements under "can contain:" list in manifest-element.html.
Bug: 5793521

Change-Id: I4340a8d043ebcf80634ad8cc1967b2a476a151d8
2013-12-20 15:02:24 -08:00
Scott Main
9e36f58899 Merge "update storage doc for secondary external storage in KK and add some new sample code and remove documentation for APIs below level 8 and add information about permission changes in KK bug: 11907502" into klp-docs 2013-12-17 21:54:48 +00:00
Scott Main
5cdadb48d0 initial shuffle of the API guide nav to add introduction
* revise to the Compatibility doc, put it in Intro
* put Permissions in Intro
* put App Fundamentals in Intro
* move Manifest docs to the top of side nav tree
* move App Resources above UI
Will perform another fix to the Best Practices section
later to deprecate some docs there and point to Training instead

Change-Id: I88a8f94167ba15e97eb3bbbc08fd82dd82498e4b
2013-12-17 13:14:17 -08:00
Trevor Johns
7643785aa8 Docs: Clean up HCE dev guide
Fixed various typos and minor errors in the HCE dev guide. Also added a
note to clarify when CATEGORY_PAYMENT should be used vs CATEGORY_OTHER.

Issue: 11991294

Change-Id: Ifa3f30fe5f35715a4cea3f3565b6f3771f44814a
Signed-off-by: Trevor Johns <trevorjohns@google.com>
2013-12-16 14:37:26 -08:00
Scott Main
d13afd69c0 update storage doc for secondary external storage in KK
and add some new sample code
and remove documentation for APIs below level 8
and add information about permission changes in KK
bug: 11907502

Change-Id: Id41c532fc2b05e59ab2cdf2b2a4ce368f7c2dba1
2013-12-13 16:42:42 -08:00
Katie McCormick
a58967a989 Doc update: removed the word "new".
Change-Id: I8764d94e0f924feeae21a0230dc4f50eacf7754a
2013-12-11 18:17:28 -08:00
Scott Main
df75bdcc55 rewrite intent guide and add doc with intents supported by platform apps
Change-Id: Ida7ccbc693e7635198fd368b9560b7843266c7cc
2013-12-10 15:53:37 -08:00
Joe Fernandez
3ffaadc11e docs: Platform image version release notes Android 4.4.2
Change-Id: I0ad9b672d077f9154a563868248e63348f7ffdae
2013-12-06 14:15:54 -08:00
Katie McCormick
4181da0296 Merge "Doc update: Minor additions to storage doc" into klp-docs 2013-11-21 19:26:36 +00:00
Katie McCormick
546f0af6be Doc update: Minor additions to storage doc
Change-Id: I59aa961a94393221be3c5f847a9fc82aa43e3a6f
2013-11-21 11:17:02 -08:00
Scott Main
64fedb7725 add new video button to some pages
Change-Id: Ie1f1875d041ff662aee709cd5f7d3110e438d0d5
2013-11-20 12:34:43 -08:00