430 Commits

Author SHA1 Message Date
Scott Main
779de5c040 docs: rewrite information about using shared preferences, internal and
external storage (including new apis), and sqlite databases.

Change-Id: Ib951f14764759a04beca7b24767fb1e927245ebd
2010-04-29 13:50:52 -07:00
Scott Main
01979991dc docs: update information about developing on a device.
Remove details about ADP1 and revise intro.
Add links to the device doc from installing guides.
Revise the procedures for Running Your Application in both the
Eclipse and Other IDE guides to specifically describe using a device
and make both docs more consistent with each other.

Change-Id: Ica77533e78141db43eb3ed214309f571beff7353
2010-04-27 15:56:12 -07:00
Christopher Tate
f781e86efe SDK: new 'bmgr' docs in the Dev Guide
Bug #2611397

Change-Id: If806e05bbaa55adb2b8483de08fb1af57bc69c35
2010-04-21 17:00:53 -07:00
Christopher Tate
4e14a82912 SDK: more backup/restore documentation work
Still not complete, but here's a lot more of the necessary documentation.
Submitting a checkpoint seems prudent.

Bug #2465360

Change-Id: Ifff60d57e4b24cee21f3a34f5f50e290d377c386
2010-04-12 15:42:16 -07:00
Kenny Root
290a48b365 Merge "Fix typos in name of density-independent pixels" into froyo 2010-04-12 12:19:08 -07:00
Kenny Root
f538b0ba7e Fix typos in name of density-independent pixels
Some places referred to "dip" as "device-independent pixels" but it
should be "density-independent pixels." Some publications are starting
to refer to this incorrectly.

Bug: 2586742
Change-Id: I030ef45a5ff61622c95133dcb7f2c82c7df652f0
2010-04-09 22:50:01 -07:00
Scott Main
f940a1f316 cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96
docs: rewrite resources documentation

Huge overhaul. Includes all new dev guides about how resources are used
on Android and how to provide alternatives, including how to handle
runtime configuration changes (restarts). Plus all new reference
docs for all the resource types (drawables, strings, menus, etc.).

Change-Id: I12e819d2c5fc11e062281d8fe442c3037e92000a
2010-04-08 17:10:06 -07:00
Scott Main
4981863de5 Merge "docs: revisions to the installLocation documentation" into froyo 2010-04-08 11:22:42 -07:00
Christopher Tate
e779bdc9b4 Add Backup/Restore sample to the SDK docs
Part of bug #2545514

Change-Id: I235d33b839924d4bc574fd1e6762d169902e1c8b
2010-04-07 13:37:00 -07:00
Scott Main
e756b21636 docs: add a screenLayout and uiMode values for configChanges attribute
add note that this should be avoided and point to dev guide

Change-Id: I977660c14da71eaf8beb1d630cbb4f6a2f26bb50
2010-04-06 17:19:43 -07:00
Scott Main
76aafa4b26 docs: revisions to the installLocation documentation
Change-Id: I4de9ac1b5900d3adf74ff53b9921a00bc3679555
2010-04-05 17:59:38 -07:00
Dirk Dougherty
bcbb7b2765 Merge "docs: add manifest documentation for installLocation" into froyo 2010-04-05 16:37:07 -07:00
Scott Main
c861a5d24e docs: add manifest documentation for installLocation
Change-Id: Id52e3460bd1ada86b6b32a47dd020829d65ac5f8
2010-04-05 16:09:21 -07:00
Dirk Dougherty
fc5aa9cfd1 Merge "doc change: miscellaneous small fixes." into froyo 2010-04-02 18:37:10 -07:00
Dirk Dougherty
fe1ffc3aad doc change: miscellaneous small fixes.
Change-Id: Iaa317261bdc20cefa38e022dfc275fea3acd97a2
2010-04-02 17:51:57 -07:00
Dirk Dougherty
3d5f648f8f doc change: cherry pick 75c66da20927e7e854397c00ef1974140270c57f. (clarify fill_parent/match_parent transition in ViewGroup.LayoutParams and R.attr. Mention match_parent in dev guide "declaring layout" doc.)
Change-Id: I1d2b80b8dc3f8b2e3c1befcbb7c4c522d78a2db8
2010-04-01 09:16:08 -07:00
Dirk Dougherty
058e385b8b doc change: fix link in guidelines index.
Change-Id: I2b9eb38eb503df5b3fd65e3d23e28712f40b09cd
2010-03-31 16:12:13 -07:00
Dirk Dougherty
36b3b5fc9a doc change: several fixes for UI Guidelines doc.
Change-Id: I351a076929e1fde0348460f4dfb269cfbcb262f2
2010-03-31 14:45:59 -07:00
Dirk Dougherty
59e644e399 doc change: cherry pick c87f7a658ea586a5271fabc6e0516a2ddf6f from master 2010-03-31 14:24:34 -07:00
Dirk Dougherty
d76ef97930 doc change: In fundamentals doc, make statement about synchronous execution of RPC less strict. Indicate that FLAG_ONEWAY applies only across processes.
Bug: 2554090
Change-Id: Ia13b3d156d230609e8296a3b31c2882ba13681f3
2010-03-29 14:47:39 -07:00
Dirk Dougherty
670b449763 doc change: Indicate that only the first 8 characters of the key alias are used.
bug: 2553183
Change-Id: I77cf7ac22b370c14f046a5a6b58b842f59e61f70
2010-03-29 12:43:27 -07:00
Dirk Dougherty
7b229effcc cherry-pick af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo
Conflicts:

	docs/html/sdk/installing.jd

Change-Id: Id43ad8c62039099bb518722bb8694dcf8ba6dfa6
2010-03-26 17:32:26 -07:00
Scott Main
f54574a90c docs: clean docs to use consistent "sidebox" classes (eliminate sidebox-inner)
Change-Id: I8a2a343257b055b5447bca03a98e48ad4387ff42
2010-03-24 17:18:01 -07:00
Scott Main
aa721c2d19 Merge "docs: fix several instances of the 'sidebox' class" 2010-03-24 13:10:54 -07:00
Scott Main
8ad6465ca4 docs: remove documenation about the search dialog from SearchManager
and point to the new developer guide. Also update the searchable config
doc with a few comments about action keys because they're not documented
anywhere else.

Change-Id: I66d43881daf03a3ffe30b3e5aa6857c8829a6d72
2010-03-17 15:03:05 -07:00
Scott Main
3b3145ed6c docs: fix several instances of the 'sidebox' class
Change-Id: I3f676929e1ce919fee254c2ac5320f2070b2a14f
2010-03-17 12:39:51 -07:00
Scott Main
41696d379f Merge "docs: add Search dev guide new docs: Search (topic home page) Using the Android Search Box Adding Recent Query Suggestions Adding Custom Suggestions Searchable Configuration" 2010-03-17 11:43:01 -07:00
Scott Main
b3b2b4f2de docs: add Search dev guide
new docs:
Search (topic home page)
Using the Android Search Box
Adding Recent Query Suggestions
Adding Custom Suggestions
Searchable Configuration

Also adds screenshots and a ZIP file with search icons

Change-Id: I44ae31b23d4878b052e91d368e95d50192776c80
2010-03-17 10:07:18 -07:00
Joe Onorato
e0d3507764 fix typos in docs
Change-Id: I201ac8d310aab4b3cbd8e0eb2af805f1e6d929ea
http://code.google.com/p/android/issues/detail?id=7086
2010-03-16 14:44:09 -07:00
Elliott Hughes
cb6b7c1988 Replace the outdated table with links to the benchmarks.
Also a few more slight changes of emphasis.

Change-Id: If28f3389e7431f1ea37ffb118d8e0525fd2a00fd
2010-03-12 16:40:02 -08:00
Elliott Hughes
a2ac9c490c Remove incorrect/misleading irrelevancies from example code.
(I'll start checking in all my benchmarks -- not just the ones relevant to this
document -- somewhere under dalvik/libcore/ tomorrow, and we can see about
linking to them for those who want something they can actually run, or just
want to see the exact code that was benchmarked.)
2010-02-24 22:50:35 -08:00
Elliott Hughes
13a6087f31 Update the "Android Performance" documentation.
A lot of this documentation isn't even true of the G1, let alone Froyo running
on a Nexus One. Distinguish between truth and fiction, clarify where the JIT
affects things, and clarify certain confusions (such as the difference between
intrinsics and native methods).

I still need to include updated performance numbers in the final section. I
should also make the benchmark code available so that people don't have to
take our word for these things, and so it's easier for them to get an idea of
the performance of future devices and builds. (Though hopefully we can update
this every release in future.)

Anyway, just removing the untruths is a big step forward.
2010-02-19 17:51:15 -08:00
Scott Main
952e39578d Merge commit '2f7b69aa' into manualmerge
Conflicts:
	docs/html/guide/topics/ui/themes.jd
2010-02-03 16:37:03 -08:00
Scott Main
2f7b69aab9 am 98a9fc0a: Merge "docs: revise the Style and Themes document to improve the clarity of the concepts and expand the available information" into eclair
Merge commit '98a9fc0a0025a3df7b36f7752fc330eba8810603' into eclair-plus-aosp

* commit '98a9fc0a0025a3df7b36f7752fc330eba8810603':
  docs: revise the Style and Themes document to improve the
2010-02-03 16:18:17 -08:00
Scott Main
4d5770904c docs: revise the Style and Themes document to improve the
clarity of the concepts and expand the available information
2010-02-03 14:50:15 -08:00
Scott Main
3b889f5219 am 1076ea0a: am 9800adf2: Merge "docs: update web page debugging with info about page and line numbering in the log." into eclair
Merge commit '1076ea0abe3cace6629063d63ee1242a5a7588a2'

* commit '1076ea0abe3cace6629063d63ee1242a5a7588a2':
  docs: update web page debugging with info about page and line
2010-01-29 13:52:30 -08:00
Scott Main
1076ea0abe am 9800adf2: Merge "docs: update web page debugging with info about page and line numbering in the log." into eclair
Merge commit '9800adf2a4d78d1e3e44dbef6aecf2b2b738c9c8' into eclair-plus-aosp

* commit '9800adf2a4d78d1e3e44dbef6aecf2b2b738c9c8':
  docs: update web page debugging with info about page and line
2010-01-29 13:47:40 -08:00
Scott Main
9800adf2a4 Merge "docs: update web page debugging with info about page and line numbering in the log." into eclair 2010-01-29 13:40:53 -08:00
Scott Main
7b02e924b0 docs: update web page debugging with info about page and line
numbering in the log.
2010-01-29 12:17:32 -08:00
Dirk Dougherty
1f40f174e7 am b574cf87: am 7b00a8ae: Merge "SDK doc change: fix android:glEsVersion description, add live_wallpaper feature, indicate market filtering on features." into eclair
Merge commit 'b574cf876e64d8a9330b052d48dcc64c5abdd70a'

* commit 'b574cf876e64d8a9330b052d48dcc64c5abdd70a':
  SDK doc change: fix android:glEsVersion description, add live_wallpaper feature, indicate market filtering on features.
2010-01-28 16:52:43 -08:00
Dirk Dougherty
b574cf876e am 7b00a8ae: Merge "SDK doc change: fix android:glEsVersion description, add live_wallpaper feature, indicate market filtering on features." into eclair
Merge commit '7b00a8ae71c5964cb96e1663b778658eaa069b3e' into eclair-plus-aosp

* commit '7b00a8ae71c5964cb96e1663b778658eaa069b3e':
  SDK doc change: fix android:glEsVersion description, add live_wallpaper feature, indicate market filtering on features.
2010-01-28 16:46:54 -08:00
Dirk Dougherty
95b528eab5 SDK doc change: fix android:glEsVersion description, add live_wallpaper feature, indicate market filtering on features.
Bug: 2160782
Change-Id: I8560f32b04a4044f58b8f7dd678aec781d56b9d9
2010-01-28 16:26:50 -08:00
Scott Main
1ce80a4d7a am bfb86068: am 2a79defa: Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair
Merge commit 'bfb8606831d5a5776301733cde3650d237870453'

* commit 'bfb8606831d5a5776301733cde3650d237870453':
  docs: add guide to copying and installing the Dev Tools app
2010-01-25 18:10:13 -08:00
Scott Main
95127b8e44 am 5ed68156: am de54a95b: Merge "docs: add a section about debugging web pages with the Console APIs; revise and cleanup some of the other content." into eclair
Merge commit '5ed681561c5904eb55a275387f1df8cec401361c'

* commit '5ed681561c5904eb55a275387f1df8cec401361c':
  docs: add a section about debugging web pages with the Console APIs;
2010-01-22 12:00:00 -08:00
Scott Main
bfb8606831 am 2a79defa: Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair
Merge commit '2a79defa5a0481e4dd980938da13adc767e0b231' into eclair-plus-aosp

* commit '2a79defa5a0481e4dd980938da13adc767e0b231':
  docs: add guide to copying and installing the Dev Tools app
2010-01-20 17:15:09 -08:00
Scott Main
2c9d7fe21a docs: add guide to copying and installing the Dev Tools app
from the emulator to a device.
2010-01-20 16:58:46 -08:00
Scott Main
5ed681561c am de54a95b: Merge "docs: add a section about debugging web pages with the Console APIs; revise and cleanup some of the other content." into eclair
Merge commit 'de54a95b98b9d80c10ca2788b83386094222cb4f' into eclair-plus-aosp

* commit 'de54a95b98b9d80c10ca2788b83386094222cb4f':
  docs: add a section about debugging web pages with the Console APIs;
2010-01-19 19:59:13 -08:00
Scott Main
6261d879e7 docs: add a section about debugging web pages with the Console APIs;
revise and cleanup some of the other content.

Bug: 2353529
2010-01-19 15:45:59 -08:00
Dirk Dougherty
88098683b0 am 6b113b1a: am 595f48b2: Merge "SDK doc change: Miscellaneous fixes." into eclair
Merge commit '6b113b1a82e04e087dca3c07fa4cf3dbb6e422d9'

* commit '6b113b1a82e04e087dca3c07fa4cf3dbb6e422d9':
  SDK doc change: Miscellaneous fixes.
2010-01-11 13:50:42 -08:00
Dirk Dougherty
6b113b1a82 am 595f48b2: Merge "SDK doc change: Miscellaneous fixes." into eclair
Merge commit '595f48b2a4fa2751ad638b60d2476e77738b21da' into eclair-plus-aosp

* commit '595f48b2a4fa2751ad638b60d2476e77738b21da':
  SDK doc change: Miscellaneous fixes.
2010-01-11 11:38:04 -08:00