Commit Graph

5748 Commits

Author SHA1 Message Date
Dianne Hackborn
be6b6b494f New API demos showing use of tabs with fragments.
Also various cleanup in other demos.

Change-Id: I4f5669117e28312bcd4b28795c5eca5f4ab6dcfb
2011-06-13 16:27:17 -07:00
Ying Wang
e4ccbd68ec Use a function to package android support libraries.
Change-Id: I52240b31fba7728b74d57fd806a93988e3ac8fe9
2011-06-07 11:25:07 -07:00
Xavier Ducrohet
80f8442291 Add v13 to the compatibility package.
Also remove ApiDemos from the package and instead
add each library-specific sample app to each v##
folder.

Change-Id: I2932bbb91c7122c122973902d1fcd159ca899381
2011-06-06 19:21:45 -07:00
Dianne Hackborn
7ffb7d4b2f Update pager demos to match new v4 ViewPager API.
Change-Id: I3b0f3382d56b477868b5a5fbf5af22fa83c3e06a
2011-06-06 15:01:45 -07:00
Dianne Hackborn
47f569e460 Lost and found.
Change-Id: I3aa4824e2c2157be715d93b698963c54dd98e099
2011-06-03 12:31:09 -07:00
Andy Stadler
7e408e8be4 Merge "DO NOT MERGE Replacement sample code for DevicePolicyManager api." into honeycomb-mr2 2011-06-03 10:24:20 -07:00
Dianne Hackborn
72d2e5c1b9 New demos for the v13 support library.
Change-Id: I79a727f987d3b21274e1f9ee6359caa2231c258b
2011-06-02 19:44:57 -07:00
Andy Stadler
547494ef8a DO NOT MERGE Replacement sample code for DevicePolicyManager api.
* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance

Backport of: I075161d389942786e6c95483becbff7ebe847078

Change-Id: Ie88c1577b2ebae124615cc4b45968851cf11187e
2011-06-02 16:39:17 -07:00
Dianne Hackborn
10c33528e0 Extract support lib samples out of ApiDemos and in to their own app.
Change-Id: I2ca344e5f1b44c4825de938c9a4f9375a523ede5
2011-05-27 18:40:15 -07:00
Dianne Hackborn
193d98ec18 Add new API demo for -swNNNdp resource qualifier.
Also clean up the demo for the w/h qualifiers to use numbers
that are the same as what we will be recommending.

Change-Id: I87ed35d8dfcb41985e19f450f7853f883effd207
2011-05-19 18:23:29 -07:00
Xavier Ducrohet
7748c429c9 Updated revision for the compatibility library.
Change-Id: I217fd11dc2458490e6981e9f614ce5770ba329c1
2011-05-18 13:36:36 -07:00
Dianne Hackborn
d9012d1bfa DO NOT MERGE. Integrate API demo work from master.
New API demo for the support library FragmentPager class.

Add API demo for new -wNNNdp and -hNNNdp configs.

Add new API demo for implementing a custom loader.

Also turn the fragment cursor list demo into a loader cursor demo.
2011-05-13 13:31:52 -07:00
Mike Lockwood
cd39282253 Add USB MissleLauncher sample program
This is sample code that controls a USB missle launcher using USB host APIs

Change-Id: Ic4201faccc4562bf114c70d50b0cab6a00d28a98
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 17:56:51 -04:00
Mike Lockwood
3385faf4e6 Add AdbTest sample program
This sample implements the "adb logcat" command using USB host APIs.

Change-Id: Ifbf122e99358bd3a1cd2a7967c364ffd59f003b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 17:55:19 -04:00
Winson Chung
b02ad50d1a Making the sample weather widget vertically resizeable.
Change-Id: I0301004a703b501cf135e0750512ad9070aff59c
2011-03-28 15:46:29 -07:00
Xavier Ducrohet
9775ffe5fd Merge "Update SDK files to API 12/Android 3.1" into honeycomb-mr1 2011-03-28 15:27:26 -07:00
Xavier Ducrohet
a6f8392dc7 Update SDK files to API 12/Android 3.1
Change-Id: I630413dab4f6859623a9c1aa44b54abe6ef392b8
2011-03-28 15:23:37 -07:00
Raphael
4cc9a1e942 Merge 48023786cf: 'Generate SDK Repository XML.' Do not merge.
When the "sdk_repo" modified is used during the SDK build,
this also generates the repository.xml and addon.xml files
for the new SDK repository packages and places them in
the DIST_DIR.

Example usage:
  make -j 16 PRODUCT-sdk-sdk showcommands sdk_repo dist DIST_DIR=/dist/sdk
  make -j 16 PRODUCT-google_sdk-sdk_addon showcommands sdk_repo dist DIST_DIR=/dist/addon

Also merges 3ea87ca65f
  'Fix XMLNS detection in SDK Repo XSD files.'
  to prevent a merge conflict later on.

Change-Id: Ic9832e71456d76f849406e641792f4285ffbf649
2011-03-25 17:45:21 -07:00
Xavier Ducrohet
57931c3ddb Move samples to 12.
Change-Id: Ic56f5f9e59ce601db37b593b2e715793f6c3473c
2011-03-21 17:38:04 -07:00
Romain Guy
bc411cdd02 Merge 520c90cc from master. do not merge.
Don't crash because of hardware acceleration.

Change-Id: I70554d5c7637b768cf815bb9f57a5d3e2c49066d
2011-03-18 16:20:28 -07:00
Xavier Ducrohet
d73e1584d5 Add android-support-v4.jar to the apidemo samples in the SDK package.
Change-Id: I07a9723152ffc4f08bbfd254e886986ec0429509
2011-03-17 12:10:10 -07:00
Scott Main
900a1c1cf1 am 62c9b6cb: Merge "fix density sample to state density type rather than screen size" into honeycomb
* commit '62c9b6cb1479c24e07bc81b61b77905d13998b41':
  fix density sample to state density type rather than screen size
2011-03-16 12:13:58 -07:00
Scott Main
62c9b6cb14 Merge "fix density sample to state density type rather than screen size" into honeycomb 2011-03-16 12:03:07 -07:00
Scott Main
882b22d698 fix density sample to state density type rather than screen size
Change-Id: I3d8fd592c914c648b9ebb19fd585f7a20a882427
2011-03-16 10:30:17 -07:00
Xavier Ducrohet
07815cd01d Remove the pre-made notice file from platform-tools.
A change in build.git now puts the one that's automatically
generated.

Change-Id: Idced9ea6176152400189203b84809c9a5a3fd92e
2011-03-15 13:29:38 -07:00
Ying Wang
b0948c5a6e am b058af05: Disable ccache when using mingw.
* commit 'b058af052efa1dccf38eef8993008920088ff188':
  Disable ccache when using mingw.
2011-03-11 14:11:11 -08:00
Ying Wang
b058af052e Disable ccache when using mingw.
Change-Id: I40ec9f6dfbf54b362b8a87cde7774b396b46b063
2011-03-11 13:59:34 -08:00
Jeff Brown
0d4619cc48 Merge "Update samples to use new getMotionRanges() API." into honeycomb-mr1 2011-03-09 18:33:55 -08:00
Dianne Hackborn
6b3f9b3ac9 Clean up support library samples.
Move them off into their own directory, so it is less confusing to
find them.

Also put in some additional samples -- throttle and arguments.

And add some docs.

Change-Id: I221e56c7ff203934796979bb5ed7ab8835f84b83
2011-03-08 18:18:10 -08:00
Jeff Brown
cb34b7c07a Update samples to use new getMotionRanges() API.
Change-Id: I6b67b7cd1f739b5b52ac32745f52bf0a092480a0
2011-03-08 17:35:22 -08:00
Daniel Sandler
f6ab64affe Merge "Restore CAMERA permission to ApiDemos." into honeycomb-mr1 2011-03-04 10:42:15 -08:00
Daniel Sandler
6044514d0d Restore CAMERA permission to ApiDemos.
Bug: 3512448
Change-Id: I6a80e7f0f9406e084fec9b626abb19cb24b4fe3d
2011-03-04 10:38:04 -05:00
Dianne Hackborn
af3c92d501 Merge "New API demo showing arguments to fragments." into honeycomb-mr1 2011-03-03 22:23:17 -08:00
Dianne Hackborn
7f308f27bf New API demo showing arguments to fragments.
Change-Id: I5bc41bb23b7ac6a6d7cbbd08cec67879dc4ae2fe
2011-03-03 22:20:11 -08:00
Andy Stadler
04631234e9 Add emailcommon to classpath
Change-Id: Ia7ebfbc1c154883f9ace40ce5060a85cf471eaa2
2011-03-03 16:40:26 -08:00
Shih-wei Liao
45e0abddcf Merge "Make AndroidManifest.xml's activity match what's in Java files" 2011-03-02 21:26:25 -08:00
Ying Wang
f566bf1d88 Merge "Add android-support-v4.jar to sdk." 2011-03-02 21:22:59 -08:00
Kenny Root
f57cc7f77b Merge "Switch demo to use new delete observer" 2011-03-02 08:50:46 -08:00
Shih-wei Liao
7cd58489c9 Make AndroidManifest.xml's activity match what's in Java files
Change-Id: I9489d32a715a1aa7f8449495b7c1101a1ad1eac6
2011-03-01 18:21:44 -08:00
Ying Wang
d46eaa6f76 Add android-support-v4.jar to sdk.
Change-Id: I28d2a323d31df6b405548e0c73c616eb7b69753d
2011-03-01 17:14:05 -08:00
Xavier Ducrohet
add79697c8 Merge "Add readme to ApiDemos to mention the need for android-support-v4" 2011-03-01 16:45:04 -08:00
Xavier Ducrohet
86eecf0074 Add readme to ApiDemos to mention the need for android-support-v4
Change-Id: I3172f4644d41fe1358fd5ae327af03e54e1297b5
2011-03-01 16:32:51 -08:00
Xavier Ducrohet
7aa1c11e67 Fix SDK build.
Change-Id: I214048d331c0c9d3885983e588e9313dd3722346
2011-03-01 14:20:35 -08:00
Xavier Ducrohet
e488b3ef67 Put back jar file into compatibility package.
Change-Id: I437d3ba7b6fae13815e34a741adadac8e6ecd8f1
2011-03-01 12:07:04 -08:00
Xavier Ducrohet
281818d994 Merge "Fix build by using $(DIST_DIR)" 2011-03-01 11:10:34 -08:00
Xavier Ducrohet
51920ee661 Fix build by using $(DIST_DIR)
Change-Id: I68832ee411fcafa171354c8b06b0992c8f01cd4d
2011-03-01 11:10:02 -08:00
Kenny Root
f9b8546aca Switch demo to use new delete observer
PackageBrowser had a delete observer that needed to be changed

Change-Id: Ie0082b9af7a14d7d48f8ae64bee42e4c8fb214d7
2011-03-01 09:36:56 -08:00
Andy Stadler
07df538442 Merge "Refresh eclipse classpath" 2011-02-28 17:10:31 -08:00
Andy Stadler
db8cdb8218 Refresh eclipse classpath
* email intermediates moved to JAVA_LIBRARIES
* added android-support library

Change-Id: I9cc985f00f352547c29f2ac171e1ab03bc51a253
2011-02-28 17:07:45 -08:00
Xavier Ducrohet
a48db378fe Merge "Package compatibility component." 2011-02-28 16:02:13 -08:00