Commit Graph

149 Commits

Author SHA1 Message Date
Roman Nurik
0431e70ddd Remove placeholder "-" label text, that was breaking the build. 2009-11-23 17:54:57 -05:00
Roman Nurik
a7178809f6 Fresh new change for:
Add Live Folder support to NotePad sample, and add new icons for the app and Live Folder (separate for Donut and Eclair).

Previous change 33290 was screwed up.

Xav, please pardon a repo newbie!
2009-11-23 17:12:19 -05:00
Android (Google) Code Review
f28c33b6ec Merge change I4ba0290a into eclair
* changes:
  Add Multiple Resolutions (MultiRes) sample code.
2009-11-23 13:45:14 -08:00
Scott Main
e71c282812 am 1558abd6: Merge change I53e268db into eclair-sdk
Merge commit '1558abd6d3706380cf4634c151ee7952e0b317fb' into eclair

* commit '1558abd6d3706380cf4634c151ee7952e0b317fb':
  docs: make the apidemos app index page only display the
2009-11-23 10:07:10 -08:00
Roman Nurik
d7f64d5338 Add Multiple Resolutions (MultiRes) sample code. 2009-11-23 11:44:11 -05:00
Scott Main
ea6c4f9082 docs: make the apidemos app index page only display the
shortcut links when the docs are online, because these
links will not resolve when the docs are offline.

this is a silly hack, but a temporary one until these
samples are moved.

Change-Id: I53e268db265cec143ca5e561ca2d6b4df3dba3e2
2009-11-20 14:55:07 -08:00
Android Git Automerger
e259566cef Put this change back, false alert with build breakage
This reverts commit a9046e418e.
2009-11-13 12:26:06 -08:00
Android Git Automerger
a9046e418e Fix build by Reverting "Remove surface from rs init and handle surfaceChanged correctly."
This reverts commit 18e1486a27.
2009-11-13 11:40:40 -08:00
Jason Sams
18e1486a27 Remove surface from rs init and handle surfaceChanged correctly. 2009-11-12 15:08:27 -08:00
Marco Nelissen
42c35199db Update live wallpaper examples to new api. 2009-11-09 15:45:02 -08:00
Bjorn Bringert
29017bbd62 Fix type of _id col in SearchableDictionary
SDK SAMPLE CODE ONLY

Before, the _id column in the search suggestions contained
a string. This causes an exception when the suggestion provider
is used for in-app search in Cupcake. Now the _id column contains
a long instead.

Fixes http://b/issue?id=2219970

Change-Id: I53c8228badbb0e3ff1799107490b44ff8ced7148
2009-11-04 11:31:06 +00:00
Dmitri Plotnikov
5635cf46c1 A sample application that demonstrates use of legacy and current contacts APIs.
The application provides two implementations for access to contacts, one based
on legacy API, the other based on the current API.  The correct implementation
is chosen at runtime based on the version of the SDK.

Change-Id: Iae0bc8564be420ff504a5dc760b935630a7664e6
2009-10-29 14:23:44 -07:00
Android (Google) Code Review
32739c6183 Merge change I2e026098 into eclair
* changes:
  Three implementations of a live wallpaper showing a spinning cube. One very basic, one slightly more elaborate (selectable shape, settings panel), and one that uses renderscript.
2009-10-08 13:10:19 -04:00
Raphael
1121ceba04 SDK: remove default.properties from ApiDemos
It's annoying to have to maintain this. Remove it and understand
why we needed it in the first place. If we do, we'll generate
it when packaging the SDK rather than have it in the tree.

SDK BUG 2144477
2009-10-07 15:20:21 -07:00
Marco Nelissen
42dbb8b92b Three implementations of a live wallpaper showing a spinning cube.
One very basic, one slightly more elaborate (selectable shape, settings panel), and one that uses renderscript.
2009-10-06 16:11:00 -07:00
Daniel Sandler
75ab82e25f hdpi artwork for development/{apps,samples}.
(drop dated 29-Sep-2009)

Change-Id: Ie022d478ed4eafc641e475dad94f507a6c358595
2009-09-29 20:41:24 -04:00
Jean-Michel Trivi
c94b435b86 Fix bug 2142296 where the user couldn't back out of the JetBoy demo.
The application was trapping the key up event on the back key. It
worked on Donut because the framework implemented the "back" behavior
on the key down. The fix consists in sending the key up event on the
back button to the Activity class.
2009-09-28 15:06:25 -07:00
Dianne Hackborn
cfc90dc1aa Add transition animation sample, log to service sample.
Change-Id: I7021a7fbbe26d9c52699d7c2216452a5bd51452b
2009-09-25 16:10:42 -07:00
Raphael
50dc6c7556 Tell the SDK that ApiDemoes requires Eclair preview.
After the preview we'll change it to the final API level.

BUG 2141157
2009-09-24 11:52:40 -07:00
Piotr Gurgul
979d5abe06 Define tested.project.dir property for existing samples
As now test projects are recognized by presence of the property
tested.project.dir, it has been manually added for existing
test project samples.
2009-09-23 12:15:05 -07:00
Derek Sollenberger
4a9200d094 renaming setJavaClassName to setPluginStubJavaClassName
Change-Id: I1a962ed93e27615611a248b8791d3392ba36df1e
2009-09-21 09:15:38 -04:00
Patrick Scott
4a8c3bf380 Do not install libsampleplugin by default.
This avoids installing the library during a normal build. When building
SampleBrowserPlugin, the library will be packaged in the apk.
2009-09-17 15:07:35 -04:00
Derek Sollenberger
08581f1c06 Updating samplePlugin to use java surface views.
Change-Id: I1b925ce3a6aeb0bd5464a7d5711449029944d7de
2009-09-15 19:31:43 -04:00
Derek Sollenberger
16ce3cdcac adding support for plugins to use the java view system.
Change-Id: I7305300dfc09e3e0968a1e61c21a6a2cdb983594
2009-09-15 19:31:43 -04:00
Eric Fischer
2528f77daa Add backslashes before apostrophes so they don't get lost.
This is required by another change I am about to submit that makes it
an error not to include the backslash, since it is inevitably a mistake
when someone fails to include it.
2009-09-01 15:42:46 -07:00
Scott Main
38b43f9cda am 50992e80: docs only. add a homepage for the searchable dictionary sample app. and make all urls relative
Merge commit '50992e805e758e2231f28ec2127b57a1a9fd0ddc' into eclair

* commit '50992e805e758e2231f28ec2127b57a1a9fd0ddc':
  docs only.
2009-08-31 19:36:23 -07:00
Scott Main
50992e805e docs only.
add a homepage for the searchable dictionary sample app.
and make all urls relative
2009-08-31 15:22:28 -07:00
Mike LeBeau
83e2eae3fb Reinclude SearchableDictionary sample app as a demo of third party inclusion in Quick Search Box.
This reverts commit 3e83e8bc8b.
2009-08-28 10:42:04 -07:00
Mike LeBeau
67545123a4 Reinclude SearchableDictionary sample app as a demo of third party inclusion in Quick Search Box.
This reverts commit 3e83e8bc8b.
2009-08-28 10:35:46 -07:00
Dianne Hackborn
b8ff7ade69 Add sample of correctly requesting camera feature, optional shared lib.
Change-Id: I5697e70cedeba9de6458caf50a363057278a7387
2009-08-27 20:13:19 -07:00
Dianne Hackborn
945b236290 Update sample code for new service semantics. 2009-08-24 16:28:39 -07:00
Scott Main
1ef50a9d95 am 04680858: docs only. Add new web pages for sample apps included in the SDK. Revise the existing sample app web pages. Delete screenshots for notepad and lunar lander (these have moved into frameworks/base/docs/html/guide/samples/image/.
Merge commit '04680858a0671ad615f088edeea87b61ea243f24' into eclair

* commit '04680858a0671ad615f088edeea87b61ea243f24':
  docs only.
2009-08-24 16:20:14 -07:00
Scott Main
04680858a0 docs only.
Add new web pages for sample apps included in the SDK.
Revise the existing sample app web pages.
Delete screenshots for notepad and lunar lander (these have
moved into frameworks/base/docs/html/guide/samples/image/.
2009-08-24 15:27:00 -07:00
Xavier Ducrohet
53b3190a47 am e95a86cf: Merge change 22346 into donut
Merge commit 'e95a86cfec18836ddbff149690a13766bfc9ada3' into eclair

* commit 'e95a86cfec18836ddbff149690a13766bfc9ada3':
  Fix target for ApiDemos (API is now 4)
2009-08-22 07:44:12 -07:00
Android (Google) Code Review
e95a86cfec Merge change 22346 into donut
* changes:
  Fix target for ApiDemos (API is now 4)
2009-08-21 16:08:11 -07:00
Xavier Ducrohet
c86903288c Fix target for ApiDemos (API is now 4)
Also add some progress output to the ant rules.
2009-08-21 15:59:02 -07:00
Anonymous Coward
978ec5abe1 am 3e83e8bc: Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
Merge commit '3e83e8bc8b969a993b026dab9d13b99b315d9af0' into eclair

* commit '3e83e8bc8b969a993b026dab9d13b99b315d9af0':
  Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
2009-08-21 12:47:14 -07:00
Anonymous Coward
3e83e8bc8b Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
update: remove entry from build.sdk
2009-08-21 12:43:21 -07:00
Jack Palevich
83d8d83ad1 Remove unused getConfigSpec methods from ApiDemos sample code
At one time during the development of GLSurfaceView, the
GLSurfaceView.Renderer interface had a getConfigSpec method that was used to
select the frame buffer format. This method was removed from the
Renderer interface before GLSurfaceView became a public API, but
the sample code still defined these now-unused methods.

To reduce the chance of confusing a developer who uses the sample code,
this change removes the dead, no-longer-called getConfigSpec
implementations from the three samples.

See GLSurfaceView.setEGLConfigChooser for the replacement
technique.
2009-08-21 11:48:50 -07:00
Scott Main
42c7eaa6bc am fab096cb: Merge change 22103 into donut
Merge commit 'fab096cbcf98cb98eef25e7541121ae8e3898a10' into eclair

* commit 'fab096cbcf98cb98eef25e7541121ae8e3898a10':
  new transparent icon for searchable dictionary
2009-08-20 16:00:56 -07:00
Scott Main
ec633d5aea new transparent icon for searchable dictionary 2009-08-20 12:21:15 -07:00
Dianne Hackborn
f416b7ea19 Hey, we don't need to set this flag any more! 2009-08-12 14:41:28 -07:00
Wu-cheng Li
0b34a0cfd5 am c5c912e4: Merge change 20717 into donut
Merge commit 'c5c912e49bdc89a7a7778b66d1ca6b00440d2888'

* commit 'c5c912e49bdc89a7a7778b66d1ca6b00440d2888':
  Release the camera in surfaceDestroyed().
2009-08-11 18:12:14 -07:00
Dianne Hackborn
b99b11dec9 am 46b133a2: Merge change 20690 into donut
Merge commit '46b133a2baf4d4c35801a24893d6a72f1ab82e7f'

* commit '46b133a2baf4d4c35801a24893d6a72f1ab82e7f':
  Add density demo.
2009-08-11 18:11:50 -07:00
Android (Google) Code Review
c5c912e49b Merge change 20717 into donut
* changes:
  Release the camera in surfaceDestroyed().
2009-08-11 10:31:48 -07:00
Android (Google) Code Review
056db8f4f0 Merge change 20723
* changes:
  adding README to sample plugins and cleaning up the animation plugin.
2009-08-11 08:07:54 -07:00
Karl Rosaen
38693ff550 am 7a3e95ae: Add a "Searchable Dictionary" app to the sample apps that demonstrates being a part of global search.
Merge commit '7a3e95aeba5109ef6aa4c9488be9416e7355067c'

* commit '7a3e95aeba5109ef6aa4c9488be9416e7355067c':
  Add a "Searchable Dictionary" app to the sample apps that demonstrates being a part of global search.
2009-08-11 07:33:14 -07:00
Derek Sollenberger
0c763b60ce adding README to sample plugins and cleaning up the animation plugin. 2009-08-11 10:05:46 -04: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