320 Commits

Author SHA1 Message Date
Dianne Hackborn
2f04883ff8 SDK only: integrate new sample code, deprecating along the way.
The new support library features and sample code for switching
between fragments using a TabHost now eliminates the utility of
the TabActivity class, so deprecate it.  This also means there is
no longer any use in ActivityGroup or LocalActivityManager.  Yay.

Also fix up things so the new support API demos are included in
the documentation.

Change-Id: I4f073b82787f32560ba1fa5b6a23746ecc8aecdc
2011-06-16 14:52:00 -07:00
Scott Main
1c71fffeb5 update platform version number for docs
Change-Id: If0866ab1544ce0f5e70bbbe93d30ed27c4403406
2011-05-05 14:49:47 -07:00
Robert Ly
8cdb2e2d83 adding the usb apis to the resources browser
Change-Id: I79e9f93ebfa3aaf03e4f4deeb70d6c5a7a4ad07f
2011-05-02 17:49:05 -07:00
Scott Main
d3b62c961b docs: update makefile to show javadocs diffs for api level 12
Change-Id: I1ac584db778ec14b18129785126159f692459158
2011-03-29 16:25:16 -07:00
Mike Lockwood
c4308f01c9 Move USB framework support from android.hardware to android.hardware.usb package
Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 08:07:20 -08:00
Robert Ly
44b362c340 fixing resource browser for renderscript samples because the samples moved
Change-Id: Ic63399f8f6ff0b33461a8e6c8ce1ce398bd8085f
2011-02-28 15:53:15 -08:00
Xavier Ducrohet
7719436342 am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 10:15:48 -08:00
Xavier Ducrohet
b732b7b5e8 am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 10:10:38 -08:00
Xavier Ducrohet
6504490cde am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 09:16:38 -08:00
Robert Ly
7a2222b260 am d2acfd6d: am a58f58da: Merge "Doc change: fixing renderscript samples" into honeycomb
* commit 'd2acfd6d04545562fcacd266e175461f26b25da9':
  Doc change: fixing renderscript samples
2011-02-17 20:23:49 -08:00
Robert Ly
6518f486a5 Doc change: fixing renderscript samples
Change-Id: Ie5d17df121ec4bc5fd46448c1670d306322b92d8
2011-02-17 18:44:31 -08:00
noda
7640caaf91 WAPPushManager, WAP Push over SMS message handler
The WAPPushManager is a new, optional service for handling WAP Push
over SMS messages.  This service allows a carrier to designate a high
priority handler for specific WAP Push over SMS messages without
affecting other WAP Push over SMS, binary SMS, or SMS text messages.
It is also optional, so that it can be configured out of the target
image resulting in no change in the WAP Push over SMS handling
behavior compared to the current AOSP.

- This patch contains the WAPPushManager itself, the associated test
  code, and the modifications to telephony to use the WAPPushManager.

Change-Id: I4f7fb5b68fc666da9bdeeea525e8797ae317e4b5
2011-02-18 00:31:24 +09:00
Scott Main
d3b6abc466 am 2b0c6fdf: am 97ef3b41: Merge "docs: revise a couple sample app names to match side nav" into honeycomb
* commit '2b0c6fdfff0faf17163d126ac21c1651e4053968':
  docs: revise a couple sample app names to match side nav
2011-02-15 11:38:50 -08:00
Scott Main
d873e660c5 docs: revise a couple sample app names to match side nav
Change-Id: Ia45e78fe005c80934d70b585558cb4c6c0f52f30
2011-02-15 10:58:34 -08:00
Adam Cohen
b9d3e5ec93 am c7f15f5c: am 5a1b6357: Merge "Adding StackWidget sample code" into honeycomb
* commit 'c7f15f5cbb68e138e739f6e6d7e1605c48cad2a4':
  Adding StackWidget sample code
2011-02-11 15:29:43 -08:00
Winson Chung
2fc779eaeb am 40683904: am 5f3cd3ea: Merge "Associated changes for \'Adding sample for collection widgets backed by content providers.\'" into honeycomb
* commit '4068390434c366b814dc0885ae5ef5fc0cf50eff':
  Associated changes for 'Adding sample for collection widgets backed by content providers.'
2011-02-11 15:29:35 -08:00
Adam Cohen
5a1b63572b Merge "Adding StackWidget sample code" into honeycomb 2011-02-11 15:19:38 -08:00
Winson Chung
06d2fa705b Associated changes for 'Adding sample for collection widgets backed by content providers.'
Change-Id: Ic872675f4645497dd1478b6c7e3074b029ea66ad
2011-02-11 11:27:23 -08:00
Adam Cohen
fca67c5525 Adding StackWidget sample code
Change-Id: I4c469f25147f733a3a09cdea0db407cd4e9f62ca
2011-02-10 19:12:41 -08:00
Roman Nurik
5d82abe586 am b8d74fd9: am 8635908d: Merge "Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery" into honeycomb
* commit 'b8d74fd962e7a8595e5aeadb78b5e7eacea52e8a':
  Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery
2011-02-07 17:27:58 -08:00
Roman Nurik
8635908da1 Merge "Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery" into honeycomb 2011-02-07 17:22:43 -08:00
Scott Main
5e2b123e48 am 236e9db9: am 62e97010: enable javadoc filtering for api level 11 and disable preview doc mode
* commit '236e9db9f31f6b93f6f21cd3b09df7c19dde16dd':
  enable javadoc filtering for api level 11 and disable preview doc mode
2011-02-07 16:41:21 -08:00
Scott Main
62e9701099 enable javadoc filtering for api level 11 and disable preview doc mode
Change-Id: I12e5f295145ef037beda0e1a3ae0358cf5a2b590
2011-02-07 16:35:46 -08:00
Roman Nurik
a35f65692d Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery
Change-Id: I0a09517935dd330d0069bfb3e6382cdcbef8e99c
2011-02-07 12:14:31 -08:00
Jean-Baptiste Queru
ef1cf4b416 Merge ba3dd323 from gingerbread
Change-Id: I615bf5177abbc680292e0116491da58835c7396f
2011-01-29 10:11:06 -08:00
Scott Main
66f3ca1c05 am 796f1af0: Merge "resolved conflicts for merge of 77ba255e to honeycomb-plus-aosp" into honeycomb-plus-aosp
* commit '796f1af04567dab098f638c9166caebc2818efe4':
  enable preview mode for docs and add api level 10 flag for api level diffs
2011-01-26 19:13:54 -08:00
Scott Main
2518895c50 resolved conflicts for merge of 77ba255e to honeycomb-plus-aosp
Change-Id: Ib40af8301e19b70c86161fc0a6cc061b118863ab
2011-01-26 18:47:13 -08:00
Scott Main
ba3dd32357 enable preview mode for docs and add api level 10 flag for api level diffs
Change-Id: Ief2adca0f7f5c37d9381bd69d39a27aa11ec85dc
2011-01-26 18:29:50 -08:00
Mike Lockwood
e7d511e148 New APIs for USB host support:
UsbManager:
- is now a service retrievable via Context.getSystemService(Context.USB_SERVICE).
- provides support for returning a list all connected USB devices
- broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices
  are added and removed from the USB host bus

UsbDevice:
- represents an attached USB device.

UsbInterface:
- represents an interface on a USB device
- devices may have multiple interfaces if they provide multiple
   sets of functionality (for example, android phones typically have interfaces
   for both USB mass storage and adb)

UsbEndpoint:
- represents an endpoint on a USB interface
- endpoints are used for sending or receiving data
  (only in one or the other direction)

UsbRequest:
- encapsulates a send or receive request to be sent over an endpoint

Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-22 15:56:09 -08:00
Robert Ly
3f9b6445cb Doc change: adding missing samples
Change-Id: Id5f63a02b80f88b5cb0c4db18322554944b944c9
2011-01-19 19:57:37 -08:00
Alexander Lucas
d84725401d Added Honeycomb-Gallery to docs.
Change-Id: I3879ee553f761113b30f8ad82c0a226d0823dd2c
2011-01-19 18:31:44 -08:00
Winson Chung
81f39eb6e7 Refactoring app widgets to address security/performance issues.
- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
2011-01-18 22:57:09 -08:00
Scott Main
07226c29f3 set sdk version to "Android 3.0" and api level to "Honeycomb"
Change-Id: I89a7149b32643d7e9c79bf2030b061bbff3bd8c4
2011-01-17 16:53:10 -08:00
Brian Carlstrom
cf9a013774 Import libcore_to_document definition from libcore/Docs.mk
Change-Id: I5f4ac355c6dadefce5762e0096dcc7379e5bf31d
2011-01-05 17:52:36 -08:00
Nick Pelly
089c3c7c0b resolved conflicts for merge of 28e8c66d to master
Change-Id: I9746fd7478d3954b491179ffbd241f481cc2fb6c
2010-12-06 11:50:47 -08:00
Nick Pelly
16ec9c5bb5 Merge branch gingerbread-nfc into gingerbread.
Change-Id: I37d657a16061fddfbb0993463f24d6d3945cddd1
Signed-off-by: Nick Pelly <npelly@google.com>
2010-12-05 14:45:29 -08:00
Dirk Dougherty
92f4d9db83 am f4c2eaf2: am 47ccfcb0: Doc change: add AccelerometerPlay to the generated samples.
* commit 'f4c2eaf2628582abf6eb0cc335bc864d2c64f440':
  Doc change: add AccelerometerPlay to the generated samples.
2010-11-29 18:19:38 -08:00
Dirk Dougherty
47ccfcb015 Doc change: add AccelerometerPlay to the generated samples.
Change-Id: I95764f216455bbceef7fa95a1a819b906e4e7e7c
2010-11-29 18:12:36 -08:00
Dirk Dougherty
e7d9ab0dcf am cb1af77f: am b1150edc: Remove HeavyWeight sample from generated html samples.
* commit 'cb1af77f1fefddb78b4540db7d4a1df673caffe2':
  Remove HeavyWeight sample from generated html samples.
2010-11-29 17:15:47 -08:00
Dirk Dougherty
b1150edc22 Remove HeavyWeight sample from generated html samples.
Change-Id: Idafb3d225d8e6a694faa2d8679c4dad6198df466
2010-11-29 17:03:15 -08:00
Scott Main
b402f11a6d docs: add preview sdk docs to provide an api overview and install steps,
enable the 'preview' flag for the docs build
revise sdk side nav for preview

Change-Id: Ifc26cfb1f18e394e96853fd42f0e194d5f8552f3
2010-11-29 14:28:13 -08:00
Trevor Johns
a4db01151e am d3f19b86: am 210e9c4a: Merge "Revert "Disabling AccessibilityService sample from build system."" into gingerbread
* commit 'd3f19b86b0f454b1bd2600d51d241b05fd5d9331':
  Revert "Disabling AccessibilityService sample from build system."
2010-11-24 16:27:34 -08:00
Trevor Johns
e66593b47c Revert "Disabling AccessibilityService sample from build system."
This re-enables the AccessibilityService sample.

This reverts commit ca9d51b15074163521b140dce431cc3a10cb56fe.
2010-11-24 16:03:21 -08:00
Scott Main
131aef5303 am 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)
* commit '4f3c40cc4d24ba1404b1332dbf1bfcddede8bf99':
  change sdk version variable to 2.3 (for docs)
2010-11-22 13:58:05 -08:00
Scott Main
8fac7c2edc change sdk version variable to 2.3 (for docs)
Change-Id: I76f5c69fab08913543c4f3d1ab000f7c4b6c9574
2010-11-22 13:36:39 -08:00
Daniel Tomas
9024564107 Secure Element access implementation
Change-Id: I907e6771ecc5babe895115c3a49288fa2144a187
2010-11-19 22:23:45 -06:00
Jeff Hamilton
6be655c768 Rough first pass at the NFC technology API.
Change-Id: I903ad6bc124bf9a65af788dae45f55d58704ef7b
2010-11-19 20:26:29 -06:00
Megha Joshi
e2ef2c10e7 Fixing build (DO NOT MERGE)
Change-Id: I27fb9dc0584940e119b030d63ff5781ef19001c1
2010-11-12 19:09:11 -08:00
Megha Joshi
48c698fc14 Adding NFC sample resources (DO NOT MERGE)
Change-Id: I687d07ebe4f8bd0c5dec30e69af0d3e880a68230
2010-11-12 18:35:49 -08:00
Jason Chen
15d18efddd resolved conflicts for merge of f0452c25 to master
Change-Id: Ie8f5e81393ac965fd570f99239ab8be8ea0db00c
2010-11-04 09:29:55 -07:00