Commit Graph

1674 Commits

Author SHA1 Message Date
Scott Main
d46d8577a8 Merge "Sample app for Android U lesson: Building apps for enterprise - Device administration." into ics-mr0 2011-12-15 10:11:55 -08:00
Fred Chung
b9c12ba27b Sample app for Android U lesson: Building apps for enterprise - Device administration.
Change-Id: Ie4fbc26be45c32d19a94faed68d9f4070a96c1d7
2011-12-14 20:08:51 -08:00
Adam Powell
1bc7aaff48 Add code sample for ShareCompat
Add SharingSupport activity - use ShareCompat.IntentBuilder to produce
sharing intents for menu item sharing, text only, single stream, and
multiple stream.

Add SharingReceiverSupport - receive text/plain content as text only,
single stream, and multiple stream.

Add SharingSupportProvider - simple filesystem-based read-only
ContentProvider for providing a data stream.

Change-Id: I7e69a80984c0c5a8d93663f928f644d55c92350d
2011-12-14 12:14:40 -08:00
Fred Chung
df52a4cafe Sample code for Android U lesson: Monetization - Ads without Compromising User Experience.
Change-Id: I6b077c24f71c00e99fe6e15da127b02707ad57f3
2011-12-13 15:39:35 -08:00
Scott Main
9b09844bae am b6062546: am f9a0d6e9: am a5601068: am 514d1cdb: Merge "revisions to NewsReader sample app for AndroidU. Clean up XML markup for clean rendering in HTML docs; Change string resources for two-pane mode to bools; Rename resource files w/ layout info from main.xml to
* commit 'b6062546c4702d4c0c3def706f45a176a7552e12':
  revisions to NewsReader sample app for AndroidU. Clean up XML markup for clean rendering in HTML docs; Change string resources for two-pane mode to bools; Rename resource files w/ layout info from main.xml to layouts.xml. Add support lib Add HTML page
2011-12-13 14:28:47 -08:00
Scott Main
b6062546c4 am f9a0d6e9: am a5601068: am 514d1cdb: Merge "revisions to NewsReader sample app for AndroidU. Clean up XML markup for clean rendering in HTML docs; Change string resources for two-pane mode to bools; Rename resource files w/ layout info from main.xml to layouts.xml.
* commit 'f9a0d6e9d727f0a8fe806f0089a28c8c6b0cdd83':
  revisions to NewsReader sample app for AndroidU. Clean up XML markup for clean rendering in HTML docs; Change string resources for two-pane mode to bools; Rename resource files w/ layout info from main.xml to layouts.xml. Add support lib Add HTML page
2011-12-13 13:15:23 -08:00
Scott Main
a56010682a am 514d1cdb: Merge "revisions to NewsReader sample app for AndroidU. Clean up XML markup for clean rendering in HTML docs; Change string resources for two-pane mode to bools; Rename resource files w/ layout info from main.xml to layouts.xml. Add support lib Add HTML p
* commit '514d1cdb04594d418828f0c6ec642cb180608198':
  revisions to NewsReader sample app for AndroidU. Clean up XML markup for clean rendering in HTML docs; Change string resources for two-pane mode to bools; Rename resource files w/ layout info from main.xml to layouts.xml. Add support lib Add HTML page
2011-12-13 13:10:41 -08:00
Dianne Hackborn
c6fb68b41e am 1bf05273: am 100dc50d: am 170b26ba: Merge "SDK only: add markup for use in documentation." into ics-mr1
* commit '1bf05273dcdefd2ef139e167d0c097a9daf64398':
  SDK only: add markup for use in documentation.
2011-12-13 05:47:37 -08:00
Dianne Hackborn
1bf05273dc am 100dc50d: am 170b26ba: Merge "SDK only: add markup for use in documentation." into ics-mr1
* commit '100dc50d0b40330cb0e189653d1965ab1c20095b':
  SDK only: add markup for use in documentation.
2011-12-12 17:49:32 -08:00
Scott Main
442088151c revisions to NewsReader sample app for AndroidU.
Clean up XML markup for clean rendering in HTML docs;
Change string resources for two-pane mode to bools;
Rename resource files w/ layout info from main.xml to layouts.xml.
Add support lib
Add HTML page

Change-Id: I88fc5cedb8f11dae9de019ba75593de2027de231
2011-12-12 16:28:27 -08:00
Dianne Hackborn
170b26ba32 Merge "SDK only: add markup for use in documentation." into ics-mr1 2011-12-12 16:09:23 -08:00
Xavier Ducrohet
a052d9d866 am 82812f2c: am e66ffc14: am fed7d838: Move samples to API 15.
* commit '82812f2c1f542a68d03ac577f51c6101b5503a44':
  Move samples to API 15.
2011-12-12 15:41:49 -08:00
Xavier Ducrohet
82812f2c1f am e66ffc14: am fed7d838: Move samples to API 15.
* commit 'e66ffc1440e003eddb8b39cc335b41f345dc68c9':
  Move samples to API 15.
2011-12-12 15:39:06 -08:00
Bruno Oliveira
4220e11c4d am bbafd9c0: am efe10dd5: am 7e3475ca: am 4ea24bff: cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e Adding the NewsReader sample.
* commit 'bbafd9c0b6fd5238713c22048025d1cfcf56a353':
  cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e Adding the NewsReader sample.
2011-12-12 15:34:34 -08:00
Bruno Oliveira
bbafd9c0b6 am efe10dd5: am 7e3475ca: am 4ea24bff: cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e Adding the NewsReader sample.
* commit 'efe10dd581677c2bd8e43df07e14bdd3f3a19139':
  cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e Adding the NewsReader sample.
2011-12-12 15:30:19 -08:00
Dianne Hackborn
e0c8f946e6 SDK only: add markup for use in documentation.
Change-Id: Ia379c178a41db146a47a494b5c24e5f77d65ada7
2011-12-12 15:15:19 -08:00
Xavier Ducrohet
fed7d838d0 Move samples to API 15.
Change-Id: I70a065033ad157ca15cddf56e81c631c301854a0
2011-12-09 16:34:20 -08:00
Bruno Oliveira
7e3475caf3 am 4ea24bff: cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e Adding the NewsReader sample.
* commit '4ea24bff40770c987add689970c64cf63077dd3f':
  cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e Adding the NewsReader sample.
2011-12-09 12:07:31 -08:00
Bruno Oliveira
4ea24bff40 cherrypick from master cl Change-Id: I45f91fd9cfe0cb89789017deec63565e4757063e
Adding the NewsReader sample.

This sample demonstrates how to design a UI for multiple screens and
is part of the "Designing for Multiple Screens" AndroidU lesson.

Change-Id: I462261933c68b3a40f9611fcf7153c25abdfcd5d
2011-12-09 11:55:36 -08:00
Trevor Johns
b235dbda06 am d63fbbed: am ee34239f: am 14d5943a: am 6c8a38a7: Merge "Issue #5689186: Add Guava as a dependency for NFCDemo sample" into ics-mr0
* commit 'd63fbbedfd65e9fa52ed12a9103d776508f2a614':
  Issue #5689186: Add Guava as a dependency for NFCDemo sample
2011-12-01 16:24:01 -08:00
Trevor Johns
d63fbbedfd am ee34239f: am 14d5943a: am 6c8a38a7: Merge "Issue #5689186: Add Guava as a dependency for NFCDemo sample" into ics-mr0
* commit 'ee34239f57fd3e6357ab5ed6021cd0a146f5650b':
  Issue #5689186: Add Guava as a dependency for NFCDemo sample
2011-12-01 16:22:19 -08:00
Trevor Johns
14d5943a2f am 6c8a38a7: Merge "Issue #5689186: Add Guava as a dependency for NFCDemo sample" into ics-mr0
* commit '6c8a38a780cbc0411ee6510f4c2b54c86e097edd':
  Issue #5689186: Add Guava as a dependency for NFCDemo sample
2011-12-01 16:19:14 -08:00
Trevor Johns
6c8a38a780 Merge "Issue #5689186: Add Guava as a dependency for NFCDemo sample" into ics-mr0 2011-12-01 16:17:03 -08:00
Chia-chi Yeh
0472e792f2 am 225cdf76: am cd4db913: am 51cf4f22: am 9e1fdc96: Merge "Android VPN sample for ICS SDK" into ics-mr0
* commit '225cdf76c5837ffe92fb1beca0521c5d5c252847':
  Android VPN sample for ICS SDK
2011-12-01 14:09:33 -08:00
Chia-chi Yeh
225cdf76c5 am cd4db913: am 51cf4f22: am 9e1fdc96: Merge "Android VPN sample for ICS SDK" into ics-mr0
* commit 'cd4db913a8aa4b99cdb95930f84d3edbefd1f61f':
  Android VPN sample for ICS SDK
2011-12-01 14:08:00 -08:00
Chia-chi Yeh
51cf4f2283 am 9e1fdc96: Merge "Android VPN sample for ICS SDK" into ics-mr0
* commit '9e1fdc961cad3c403da3155ac64d912faa5e1bde':
  Android VPN sample for ICS SDK
2011-12-01 14:04:11 -08:00
Svetoslav Ganov
2137d172d7 am cf0a1987: resolved conflicts for merge of cb0d49cd to master
* commit 'cf0a198756b4b320a03886b09c8f29db46b3b4af':
  Adding a code sample for implementing accessibility in a custom view.
2011-11-30 18:59:50 -08:00
Svetoslav Ganov
cf0a198756 resolved conflicts for merge of cb0d49cd to master
Change-Id: I0eabcb7b55a0b10f50e2e1f065213223b5600aab
2011-11-30 18:53:19 -08:00
Svetoslav Ganov
eb17889032 Merge " Adding a code sample for implementing accessibility in a custom view." into ics-mr1 2011-11-30 18:18:33 -08:00
Trevor Johns
f56101e2a3 Issue #5689186: Add Guava as a dependency for NFCDemo sample
This adds Guava v10.0.1 as a dependency for development/samples/NFCDemo.
Without this, the sample does not build.

Also added a NOTICE file for NFCDemo to hold attribution for Guava.

Change-Id: I324e3984a2bd95d31be8d09bda3d2eb893edf831
2011-11-30 17:04:39 -08:00
Svetoslav Ganov
a75233833c Adding a code sample for implementing accessibility in a custom view.
bug:5683532

Change-Id: I79471c431ba3aeb4abe57f850e84a4da0bc1feba
2011-11-29 13:02:58 -08:00
Chia-chi Yeh
9ad3f40880 Android VPN sample for ICS SDK
Change-Id: I84e568625c5c9cc9b48f338e2d6226a8e9f67017
2011-11-28 17:21:34 -08:00
Jean-Baptiste Queru
8785c24956 am 14bc4b97: am 459d7f99: am a96a7c60: am c4d810a4: Merge "Inaccvrate Morse data in sample code." into ics-mr0
* commit '14bc4b97a8eef0ab7a42131b5d4eee1a8da5ff40':
  Inaccvrate Morse data in sample code.
2011-11-28 11:35:49 -08:00
Jean-Baptiste Queru
14bc4b97a8 am 459d7f99: am a96a7c60: am c4d810a4: Merge "Inaccvrate Morse data in sample code." into ics-mr0
* commit '459d7f999f8aba4f3c4e8d39c926fdb12e2a50e6':
  Inaccvrate Morse data in sample code.
2011-11-28 11:33:01 -08:00
Jean-Baptiste Queru
a96a7c6040 am c4d810a4: Merge "Inaccvrate Morse data in sample code." into ics-mr0
* commit 'c4d810a43ce5d052812a453b488ef0cc7511dfda':
  Inaccvrate Morse data in sample code.
2011-11-28 11:28:45 -08:00
Jean-Baptiste Queru
cf2051ab22 Inaccvrate Morse data in sample code.
This vses the trve seqvence, svch that vsers can be
vnderstood vpon revsing this data, thvs bypassing
svrprising qvestions.

Change-Id: I1741d0c4072ab43975981799f602a6a6cda25088
2011-11-23 08:14:10 -08:00
Jason Sams
39a2f958e3 Merge "New compute sample for simple image processing." into graphics-dev 2011-11-18 17:48:27 -08:00
Jason Sams
f347e62207 New compute sample for simple image processing.
Change-Id: I0aeada2d425a0e4f915fc2f8f8af111329297709
2011-11-18 16:26:14 -08:00
Svetoslav Ganov
84ed1bb1de am 19c93bac: am cd2db139: Add the support libraries to the platform documentation (demos).
* commit '19c93baca796c7cd9c7317e6a68d2f4cabbf915b':
  Add the support libraries to the platform documentation (demos).
2011-11-18 15:22:35 -08:00
Svetoslav Ganov
cd2db139ae Add the support libraries to the platform documentation (demos).
Updated the support demos due to renamed support classes.

bug:5629339

Change-Id: Ia94cd60ea2b89ad74003baaa8eb8e84d21822374
2011-11-17 15:15:24 -08:00
Fred Chung
4c23a87d7a am e39ad49b: am 053c4648: Merge "SDK sample code for Bluetooth HDP API." into ics-mr1
* commit 'e39ad49b453230058ff77df70565360975a68f04':
  SDK sample code for Bluetooth HDP API.
2011-11-17 04:08:25 -08:00
Fred Chung
512ea9b6f8 DO NOT MERGE: SDK sample code for Bluetooth HDP API.
Cherry pick from ics-mr1 Change ID I0f68ba42309c960f0df1e537b0932c6d68d9657b

Change-Id: I1d5e37fc24d82f8f9f846c82b93f68dcc58d95cc
2011-11-16 15:26:28 -08:00
Fred Chung
053c46485b Merge "SDK sample code for Bluetooth HDP API." into ics-mr1 2011-11-16 09:31:44 -08:00
Svetoslav Ganov
3af6828840 am 402d3fd4: am 41867b63: Merge "Fix the support-v4 demos to work on a platform with APIs V4 (samples part)" into ics-mr1
* commit '402d3fd41838dc6a098ec3482f83b20b32df29f4':
  Fix the support-v4 demos to work on a platform with APIs V4 (samples part)
2011-11-15 14:40:44 -08:00
Svetoslav Ganov
41867b639f Merge "Fix the support-v4 demos to work on a platform with APIs V4 (samples part)" into ics-mr1 2011-11-15 14:34:53 -08:00
Svetoslav Ganov
a09e21a223 Fix the support-v4 demos to work on a platform with APIs V4 (samples part)
Some of the samples are using APIs that are introduced after v4 but not supported
in the v4 library.  Update the samples to use the new stuff added to the support
library.

bug:5616340

Change-Id: I90889f5e9ee48e7e30249464e60d5d28cd3f7a4b
2011-11-15 11:38:45 -08:00
Fred Chung
14c26228cd SDK sample code for Bluetooth HDP API.
Change-Id: I0f68ba42309c960f0df1e537b0932c6d68d9657b
2011-11-14 21:36:25 -08:00
Dianne Hackborn
0efad946bd am f1ab1a8e: am 2fd75c63: Move switch preference into its own demo.
* commit 'f1ab1a8e26c89442b758c56613a47e35e71d2ef5':
  Move switch preference into its own demo.
2011-11-14 14:38:27 -08:00
Dianne Hackborn
2fd75c6368 Move switch preference into its own demo.
This avoids everything breaking on pre-ICS platforms.

Also get rid of pref initialization in Application. I hate that.  Hate
hate hate.  Hate.  Totally hate.

Totally.

Change-Id: Idb3526a96eb2dff49f9de8e5ae71149cb4ed6e96
2011-11-14 14:28:42 -08:00
Ken Wakasa
638bfdf26d am c7160d8d: am c3b08379: Fix wrong paths to class references
* commit 'c7160d8dcb9861af67eea4b822889b3ce93be0b9':
  Fix wrong paths to class references
2011-11-07 16:49:17 +00:00