Commit Graph

870 Commits

Author SHA1 Message Date
Alexander Lucas
11b83fd9f7 Merge "Added Honeycomb Gallery sample application." into honeycomb 2011-01-19 18:33:28 -08:00
Alexander Lucas
9f935c7da5 Added Honeycomb Gallery sample application.
Change-Id: I1eefc2837016a7973544f0c57a8464466e7dcef9
2011-01-19 17:02:48 -08:00
Trevor Johns
953dbee407 Merge "NFC sample app" into honeycomb 2011-01-19 15:23:41 -08:00
Megha Joshi
6aa608a559 NFC sample app
Cherry-picking NFC sample into Honeycomb branch, since it wasn't
merged during it's original commit to Gingerbread.

Change-Id: I79308f04c1b2edd6cb5bb675fa13b9e5083a8432
2011-01-19 14:07:55 -08:00
Jaikumar Ganesh
2af724c6eb Modify Bluetooth Chat app for new insecure rfcomm API.
Also fix some bugs.

Change-Id: I2e20a3b02fb904d64e03a2c4602a5b724912c742
2011-01-19 10:30:32 -08:00
Jack Palevich
6039b0915e Merge "Add BasicGLSurfaceView sample." into honeycomb 2011-01-18 02:42:31 -08:00
Xavier Ducrohet
959f517c24 Merge "Remove illegal @Override on interface method." into honeycomb 2011-01-17 21:51:43 -08:00
Xavier Ducrohet
e21f4d695a Merge "Update the API level of the Honeycomb samples." into honeycomb 2011-01-17 21:51:39 -08:00
Jack Palevich
ebb6bc2fc8 Add BasicGLSurfaceView sample.
Show how to get started with OpenGL ES 2.0.

Change-Id: Iee83ca6a52eee64e8c6b77bc9a8abff11a1eabfd
2011-01-17 17:48:44 -08:00
Xavier Ducrohet
62e3bb6f93 Remove illegal @Override on interface method.
Samples should compile with 1.5

Change-Id: I029ae9ded4237fd9d4d2d1dbf2c7c537afbbf36b
2011-01-17 17:05:05 -08:00
Xavier Ducrohet
2beeb1c309 Update the API level of the Honeycomb samples.
Change-Id: I5f14d45474957e9ee35a058d7b6295c860335429
2011-01-17 16:58:04 -08:00
Dianne Hackborn
0d11c9c345 Follow API changes.
Change-Id: Ieb1df7fc0708f22aae3d851f74ade1343eb44e08
2011-01-17 15:27:56 -08:00
Andy Stadler
d8865cc32c Update demo for DPM encryption controls
* Follow revised API
* Show more status

Bug: 3346770
Change-Id: I6c5cd8d8f055ceb3a3a78cf3868dbc0f2d535acf
2011-01-17 12:53:31 -08:00
Dianne Hackborn
e63a4b58a2 Add some more API demos for themes.
Shows how to make a basic custom theme with a custom background,
and a theme that selects between the old theme and Holo.

Also use a little trick to make the API demos for HC specific
samples be hidden on older versions of the platform.

Change-Id: Ie53e8103147e81975fca73b96bda989a00504534
2011-01-16 14:29:28 -08:00
Christopher Tate
560094efef Merge "Add a dynamically-revealed view to the drag demo" into honeycomb 2011-01-14 12:36:49 -08:00
Christopher Tate
cbbfda2bd0 Add a dynamically-revealed view to the drag demo
This is to show off and test the handling of views that become
visible after the primary ACTION_DRAG_STARTED broadcast happens.

Change-Id: I8bb575c2e055a9d60fc6ed8bc77457dec13a80b4
2011-01-13 20:28:47 -08:00
Jake Hamby
3695fe3a42 Fix BT chat sample app to use Honeycomb action bar.
The BT chat app previously used a custom title, which is no longer
supported in Honeycomb with the default theme. It also required the
option menu, which has been replaced with the action bar.

Fixed the app to use the standard Honeycomb style and action bar.

Bug: 3098795
Change-Id: I8f8656b261c6e15cc6b0b2f445087ff3baabb4d4
2011-01-13 16:59:47 -08:00
Andy Stadler
3eb48a061a Add encryption status controls
* Enable, disable, and activate encryption
* Report encryption status

Change-Id: Ia76cf6033fe00ebdfd3369f8123f5d1ec109f3a9
2011-01-12 20:41:20 -08:00
Scott Main
3ea03c5321 docs: add section links to samples overview
Change-Id: Ib605362eb97e607eba3d965a5ca0f32e6207b841
2011-01-11 21:09:53 -08:00
Christopher Tate
134fada434 API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
startDrag() that crosses application boundaries will remain @hide until we get
more of the surrounding behaviors nailed down.

Drag-and-drop demo updated to only show app-local drag operations pro tem.

Change-Id: I9cdcd132c1aae45bc472e70293b7187b4cba9bca
2011-01-11 17:49:20 -08:00
Chet Haase
d8126c7d89 All animator resources moved to res/animator
Change-Id: I84ea32b1560041a30195067971f02cf9e780d853
2011-01-11 07:20:55 -08:00
Chet Haase
6e27f5856a Rename RGBEvaluator to ArgbEvaluator
Change-Id: I43cf6c9824b012424de1ef2a340ee9dde20af4a7
2011-01-10 16:48:48 -08:00
Xavier Ducrohet
e039eac65a Update source.properties for the Samples.
Change-Id: Id250d5e1b8a9460314e0ebd9615048e5e4e3bd87
2011-01-09 17:34:21 -08:00
Dianne Hackborn
69c72dfdf9 Clean up from comments, enable throttling.
Change-Id: I719b0491a7953ab57d76634699c6fdf3ad8558e0
2011-01-08 18:34:43 -08:00
Dianne Hackborn
ddfb4b38f5 Merge "Clean up to no longer use old APIs, add new loader throttle sample." into honeycomb 2011-01-08 17:35:08 -08:00
Dianne Hackborn
4fd816a7ba Clean up to no longer use old APIs, add new loader throttle sample.
The new sample code is a complete self-contained end-to-end
implementation of a content provider populating a list view
through a loader, dynamically changing its contents based on
user input in about 500 lines.

Once the framework support is implemented, this will demonstrate
using CursorLoader's new throttling feature.

Change-Id: Ia67da7284607477125c613c3135f93bc1d95d0cb
2011-01-08 17:33:13 -08:00
Adam Powell
e4d6bfae65 Update dialog demos for API changes related to setting themed icons.
Change-Id: I73213f9593a381bd43b935aa2fa020ec3d6095d7
2011-01-08 13:29:50 -08:00
Christopher Tate
7f68ce1a19 Rename drag "thumbnail" to the drag "shadow"
No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I506f8b541027cf104553c27547d3e9972cd1add8
2011-01-07 16:31:04 -08:00
Gilles Debunne
0bf9b8da9e Merge "Made XmlAdapter sample a standalone application." into honeycomb 2011-01-07 12:13:12 -08:00
Derek Sollenberger
670c7974a6 Merge "Add basic test for retrieving the plugin's visible rect." into honeycomb 2011-01-07 11:30:40 -08:00
Derek Sollenberger
1e64f02bf7 Add basic test for retrieving the plugin's visible rect.
Change-Id: I32f80587438060ebaa0cbfb5f992fb4baadcdf67
2011-01-07 14:14:37 -05:00
Gilles Debunne
3fc9318ce5 Made XmlAdapter sample a standalone application.
Change-Id: If34f2086da65f81968f630a42e4b9e725cb65efe
2011-01-07 08:38:50 -08:00
Dianne Hackborn
010c2d5761 Codename now Honeycomb.
Change-Id: I32ac7dbd24bd3730deb608e20346fa9d40c3875a
2011-01-06 12:51:17 -08:00
Dianne Hackborn
8ab4ac232b Update documentation for API demos.
Change-Id: Iaa84eb197ffc0a584772f946202c13eeb917eabf
2011-01-05 11:29:11 -08:00
Dianne Hackborn
cce6628efd Merge "Hide XML adapter sample, since the APIs are now gone." 2011-01-04 17:37:51 -08:00
Dianne Hackborn
ab88ed55d7 Hide XML adapter sample, since the APIs are now gone.
Also tweak API demos to use the new pretty background.

Change-Id: Idbb523880fff81f6e0f3ca241e4bdaa1dbc2f8f2
2011-01-04 17:28:02 -08:00
Derek Sollenberger
4448b60726 Merge "Update Animation Plugin to use OpenGL." 2011-01-04 13:42:51 -08:00
Derek Sollenberger
349bc37aa8 Update Animation Plugin to use OpenGL.
Change-Id: Ib20fa69422a0dae804c95f71b70a65027ad8e9cf
2011-01-04 16:39:05 -05:00
Dianne Hackborn
9d247ad58b Some cleanup of fragment API demos:
- Rename FragmentAnim to FragmentHideShow, and tweak it to look
  less stupid.
- Reworking FragmentLayout to better represent a typical way to
  use fragments.
- Tweak various UI elements.

Change-Id: I3f4861c33bafafd27108fe0e4193e0ac7711f69e
2011-01-04 11:39:22 -08:00
Chet Haase
43b37134fd Demos should use main activity context, not getApplicationContext()
Change-Id: I561defd90760864a975b905f13cf30c422da6125
2010-12-28 08:35:38 -08:00
Dianne Hackborn
e4459d5d11 Clean up loader demo.
Change-Id: Ie7ade888389523360e930f051a2143159a7a4f06
2010-12-21 10:13:13 -08:00
Jeff Brown
aaa542be4a Merge "Add sample for tab ordering." 2010-12-17 17:42:17 -08:00
Dianne Hackborn
82362ab449 Give the app widget a background.
So you can see it!

Change-Id: I6ec8a8240a231379ef1f736ed700d780c04d12f6
2010-12-17 11:18:31 -08:00
Dianne Hackborn
d08e015b7e Update fragment cursor loader sample to new New and Shiny.
Change-Id: Id7afc9adba3d29f8d3279737443cde1aee58a3bb
2010-12-16 23:00:15 -08:00
Dianne Hackborn
ec04e5da4b Prepare for some changes to LoaderManager/Loader.
Sorry it is a bit ugly, it is to allow this change to be
checked in prior to the first stage of the framework change
without breaking the build.

Change-Id: Ia59181602679608e765664ecff1fbb52306d9559
2010-12-16 01:07:16 -08:00
Jeff Brown
587b6c441f Add sample for tab ordering.
Change-Id: Id704aac3796abed561c0df533e00600c76b3c31e
2010-12-15 19:38:18 -08:00
Scott Main
34ce501365 am 1549d27e: am 9efea49e: cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
* commit '1549d27e177fdcbb4c2816b993d2ed085cb4c3dc':
  cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
2010-12-15 12:01:48 -08:00
Scott Main
1549d27e17 am 9efea49e: cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
* commit '9efea49e40f3e3784cfa1c9fd67a6ca9ff5270e7':
  cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d docs: fix broken links in sample docs
2010-12-15 11:55:53 -08:00
Scott Main
9efea49e40 cherrypick Change-Id: I999748ceec87ae5e6ac04c573f6055e6a7f7176d
docs: fix broken links in sample docs

Change-Id: Icbc2c16b9f4caee25ab2265ea5425c57f0989ab1
2010-12-15 11:45:24 -08:00
Dianne Hackborn
05d297331a Quickly hack out setForeground call that is going away.
I'll come back in a bit and make this API demo work again.

Change-Id: I287dd64925e48bc934c44fb6d0b779a58a270503
2010-12-14 21:56:15 -08:00