Commit Graph

66 Commits

Author SHA1 Message Date
Android (Google) Code Review
c5c912e49b Merge change 20717 into donut
* changes:
  Release the camera in surfaceDestroyed().
2009-08-11 10:31:48 -07:00
Wu-cheng Li
5dfeb0e195 Release the camera in surfaceDestroyed().
If the camera is not released, the new client will fail to connect to camera next time. b2042350
2009-08-11 17:30:15 +08:00
Dianne Hackborn
3b01460578 Add density demo.
This is basically just a copy of DpiTest, but it seems like this stuff
would be useful to have in sample code.
2009-08-10 18:12:32 -07:00
Karl Rosaen
7a3e95aeba Add a "Searchable Dictionary" app to the sample apps that demonstrates being a part of global search.
updated: makefile adjusted so app is part of sdk, and the manifest refers to the correct sdk version.

updated: brushed up docs and formatting per feedback.
2009-08-10 10:09:21 -07:00
Xavier Ducrohet
66f17e50db ApiDemos Clean up
- Add missing @Override
- Remove (some) unused imports
- Add some missing headers

BUG: 2031807
2009-08-03 19:00:36 -07:00
Romain Guy
fc614476e4 Fix NPE in Home sample. 2009-06-30 10:23:32 -07:00
Romain Guy
14035e8634 Fixes #1949253. Prevents NPE on startup. 2009-06-29 14:55:08 -07:00
Brett Chabot
fe905a8cb0 Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
This should enable the ApiDemos sample tests to run continuously again.
2009-06-19 18:34:39 -07:00
Android (Google) Code Review
8eb71d59e9 Merge change 2428 into donut
* changes:
  Fix misleading comment.
2009-06-03 10:49:54 -07:00
Android (Google) Code Review
c7ee895b44 Merge change 2768 into donut
* changes:
  Add an API demo that shows the effets of setting Bitmaps as being purgeable.
2009-06-02 16:53:22 -07:00
Wei-Ta Chen
1ba461c7b6 Add an API demo that shows the effets of setting Bitmaps as being purgeable. 2009-06-01 13:35:06 -07:00
Ken Shirriff
0b10c8f9ca Fix misleading comment.
ExpatParser defaults to UTF-8 if no encoding is specified.
2009-05-25 17:44:47 -07:00
Ken Shirriff
35787c0f99 Fix typo in comment. 2009-05-22 13:01:40 -07:00
Xavier Ducrohet
03fd223a4d Remove the PlatformLibrary
This sample is not an application sample, but a framework sample.
It is moved to vendor/sample. A new "sample" vendor that will show how to create Android-based device
2009-05-12 17:55:35 -07:00
James Dong
bf4d838a88 Fixed bugs in the media player api demo application
- release the MediaPlayer object when onPause
- use onVideoSizeChanged listener to make sure that correct video size is known before starting playback
2009-05-11 13:51:43 -07:00
Jack Palevich
d9b9c8eaaa Use direct, native order Buffers for OpenGL data. 2009-05-07 14:54:46 -07:00
Scott Main
82ce558241 am 705a3ee: AI 147793: cleanup broken links and delete all innacurate in
Merge commit '705a3ee3975877460c124d98eda12ae16dadd1a6' into donut

* commit '705a3ee3975877460c124d98eda12ae16dadd1a6':
  AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
2009-04-28 21:53:14 -07:00
Scott Main
705a3ee397 AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=1810005

Automated import of CL 147793
2009-04-25 14:04:53 -07:00
Jack Palevich
c7ad6e203d Add a sample showing how to use the new static OpenGL ES bindings.
(Actually repurpose the existing Texture Triangle sample.)
2009-04-24 13:04:26 -07:00
Jean-Michel Trivi
25179be380 AI 147301: am: CL 147296 Reuse the JetPlayer singleton instance in the initialization of JetBoy instead of destroying it.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 147301
2009-04-22 13:16:35 -07:00
Jean-Michel Trivi
ab7e461226 AI 147296: Reuse the JetPlayer singleton instance in the initialization of JetBoy instead of destroying it.
BUG=1804737

Automated import of CL 147296
2009-04-21 18:50:58 -07:00
Jeff Hamilton
136d537b79 AI 147247: am: CL 147243 Make the API sample check to see if there is anything installed to handle the recognition intent.
Original author: jham
  Merged from: //branches/cupcake/...

Automated import of CL 147247
2009-04-21 15:09:35 -07:00
Jeff Hamilton
662afbbf33 AI 147243: Make the API sample check to see if there is anything installed to handle the recognition intent.
BUG=1803523

Automated import of CL 147243
2009-04-21 15:05:59 -07:00
Andy Stadler
651794b606 AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...

Automated import of CL 147167
2009-04-21 11:51:42 -07:00
Andy Stadler
fc707349cc AI 147162: Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  BUG=1783981

Automated import of CL 147162
2009-04-21 11:48:53 -07:00
Jean-Michel Trivi
38d88bfb49 AI 146645: am: CL 146643 Clean up and commenting of the JetBoy JET demo code:
Fixed JetPlayer initialization code and pause when the app loses focus.
  Removed mute mask hack.
  Cleaned up event ID declaration and check (event value is a byte, not a String).
  Add extensive comments for the JetPlayer code.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146645
2009-04-16 16:59:25 -07:00
Jean-Michel Trivi
3e58000c21 AI 146643: Clean up and commenting of the JetBoy JET demo code:
Fixed JetPlayer initialization code and pause when the app loses focus.
  Removed mute mask hack.
  Cleaned up event ID declaration and check (event value is a byte, not a String).
  Add extensive comments for the JetPlayer code.
  BUG=1596727

Automated import of CL 146643
2009-04-16 16:56:18 -07:00
Jeffrey Sharkey
f7f1c36f61 AI 146481: am: CL 146394 Add ExampleAppWidgetConfigure to manifest and correct update issues.
This adds widget configuration to manifest so we don't crash when trying to insert.  We also correctly push a second update once prefix title has been saved; previously we showed a stale title until next widget update.  Also return the title prefix correctly for a given appWidgetId.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 146481
2009-04-16 12:32:29 -07:00
Jean-Michel Trivi
780ba517cf AI 146478: am: CL 146372 Add audio assets used for the generation of the JET data that is used in the JET SDK sample "JetBoy". This includes the JetCreator project and the Logic file for the music.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146478
2009-04-16 10:46:34 -07:00
Jeffrey Sharkey
28a20dae3e AI 146394: Add ExampleAppWidgetConfigure to manifest and correct update issues.
This adds widget configuration to manifest so we don't crash when trying to insert.  We also correctly push a second update once prefix title has been saved; previously we showed a stale title until next widget update.  Also return the title prefix correctly for a given appWidgetId.
  BUG=1792887

Automated import of CL 146394
2009-04-15 17:15:21 -07:00
Jean-Michel Trivi
b1196f91f5 AI 146372: Add audio assets used for the generation of the JET data that is used in the JET SDK sample "JetBoy". This includes the JetCreator project and the Logic file for the music.
BUG=1596727

Automated import of CL 146372
2009-04-15 14:27:48 -07:00
Xavier Ducrohet
3489bba692 AI 145097: am: CL 144935 ApiDemos contains new API, and we must force the target to cupcake.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145097
2009-04-08 13:34:04 -07:00
Xavier Ducrohet
1d0c9f3363 AI 144935: ApiDemos contains new API, and we must force the target to cupcake.
BUG=1575649

Automated import of CL 144935
2009-04-07 16:04:04 -07:00
Xavier Ducrohet
382b479bbd AI 144567: am: CL 144565 Improve the JetBoy samples
- use theme instead of window feature to remove titlebar
  - remove useless Layouts
  - Make custom view works in layout editor.
  - remove some warnings
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 144567
2009-04-03 17:49:02 -07:00
Xavier Ducrohet
57a70ad700 AI 144565: Improve the JetBoy samples
- use theme instead of window feature to remove titlebar
  - remove useless Layouts
  - Make custom view works in layout editor.
  - remove some warnings
  BUG=1596727

Automated import of CL 144565
2009-04-03 17:48:40 -07:00
Xavier Ducrohet
46132107e6 AI 144539: am: CL 144533 Reformat JetBoy samples to match code style.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 144539
2009-04-03 16:27:41 -07:00
Xavier Ducrohet
dcb36ed62d AI 144533: Reformat JetBoy samples to match code style.
BUG=1596727

Automated import of CL 144533
2009-04-03 16:23:56 -07:00
Jean-Michel Trivi
62464e0187 AI 144510: am: CL 144509 Checking in Sonivox' JetBoy code sample. The java code still has a FIXME for cleanup and review to be done before final SDK build.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 144510
2009-04-03 15:03:07 -07:00
Jean-Michel Trivi
e7837ffa1f AI 144509: Checking in Sonivox' JetBoy code sample. The java code still has a FIXME for cleanup and review to be done before final SDK build.
BUG=1596727

Automated import of CL 144509
2009-04-03 15:01:10 -07:00
Jeffrey Sharkey
a0d0f0ce62 AI 143865: am: CL 143864 Fix SDK example to correctly pass back newly-configured appWidgetId.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143865
2009-03-31 16:58:03 -07:00
Jeffrey Sharkey
e64360f76a AI 143864: Fix SDK example to correctly pass back newly-configured appWidgetId.
BUG=1725041

Automated import of CL 143864
2009-03-31 16:55:19 -07:00
Xavier Ducrohet
5d22c85df0 AI 143206: am: CL 142994 Clean up official ApiDemos to not reference Google Maps
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143206
2009-03-27 18:00:15 -07:00
Xavier Ducrohet
2d2cf2889c Automated import from //branches/cupcake/...@142994,142994 2009-03-26 15:29:07 -07:00
Jack Palevich
46a1d90217 Automated import from //branches/donutburger/...@142486,142486 2009-03-24 22:49:05 -07:00
Romain Guy
02e8d006b0 Automated import from //branches/donutburger/...@142465,142465 2009-03-24 22:45:50 -07:00
Jeff Hamilton
3ce38fa6cc Automated import from //branches/donutburger/...@141737,141737 2009-03-24 20:48:56 -07:00
Jack Palevich
bea7f769d8 Automated import from //branches/cupcake/...@142485,142485 2009-03-24 20:22:52 -07:00
Jeff Hamilton
b10c75c895 Automated import from //branches/cupcake/...@141732,141732 2009-03-24 18:16:44 -07:00
The Android Open Source Project
6ffae015b4 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:43 -07:00
The Android Open Source Project
243d18eb22 auto import from //branches/cupcake/...@137873 2009-03-11 12:11:54 -07:00