Commit Graph

2564 Commits

Author SHA1 Message Date
Dianne Hackborn
c46a762ee3 am eb3547b3: Add API demo for services that run in the foreground.
Merge commit 'eb3547b3d0678ad16a602d342cf81dc64e03d9b7' into eclair-mr2

* commit 'eb3547b3d0678ad16a602d342cf81dc64e03d9b7':
  Add API demo for services that run in the foreground.
2009-12-01 17:05:18 -08:00
Doug Zongker
4c95917590 add one script to make release keys
This script can replace the copies of mkkey.sh sprinkled all over the
tree.  It prompts nicely for passwords, avoids writing the raw private
key to disk, and always generates certs that use sha1WithRSAEncryption.
2009-12-01 12:32:00 -08:00
Derek Sollenberger
51cce58c45 Ensure the plugin's native code is never called with an invalid NPP pointer. 2009-12-01 08:26:20 -05:00
Derek Sollenberger
e62ce17ac9 Refactoring the logging interface to remove dependence on NPP. 2009-11-30 11:52:06 -05:00
Derek Sollenberger
04b3e9a6c6 Refactoring sample plugin to use updated java interfaces. 2009-11-30 08:41:08 -05:00
Dianne Hackborn
eb3547b3d0 Add API demo for services that run in the foreground.
Change-Id: I7acb0817e5d738294bef02ca2df3c2ab18b45f60
2009-11-25 17:06:53 -08:00
Android (Google) Code Review
2171d57cfc Merge change I6f2fcdd7 into eclair-mr2
* changes:
  Fix eclipse default .classpath
2009-11-24 16:08:54 -08:00
Andrew Stadler
6f2fcdd7d4 Fix eclipse default .classpath
* Add frameworks/base/common/java
* Remove external/googleclient/googleclient-lib.jar
2009-11-24 13:50:26 -08:00
David 'Digit' Turner
4b4129d30c am cc09e088: Merge change Icb96cddc into eclair
Merge commit 'cc09e088d869453536a1e9d761bd92df1a19fe62' into eclair-mr2

* commit 'cc09e088d869453536a1e9d761bd92df1a19fe62':
  Cleanup installed binaries before the NDK build begins.
2009-11-23 17:04:14 -08:00
Eric Fischer
78cab8038a am 0d6684c8: Merge change I44da0c8f into eclair
Merge commit '0d6684c86f152dabf7476d269fdaa3de1eb8fcac' into eclair-mr2

* commit '0d6684c86f152dabf7476d269fdaa3de1eb8fcac':
  Correct the raw offsets in the time zone index for a few zones.
2009-11-23 17:04:10 -08:00
Android (Google) Code Review
cc09e088d8 Merge change Icb96cddc into eclair
* changes:
  Cleanup installed binaries before the NDK build begins.
2009-11-23 16:59:36 -08:00
Android (Google) Code Review
0d6684c86f Merge change I44da0c8f into eclair
* changes:
  Correct the raw offsets in the time zone index for a few zones.
2009-11-23 16:59:17 -08:00
Eric Fischer
1f9f586c83 Correct the raw offsets in the time zone index for a few zones.
ZoneCompactor was using the system time zone database to get the offsets
instead of using the data it was compiling, so for newly added or recently
changed zones the index could be inconsistent with the data.

Affected zones: San_Luis, Casey, Davis, Mawson, Kathmandu, Novokuznetsk
2009-11-23 16:45:09 -08:00
David 'Digit' Turner
cb96cddc77 Cleanup installed binaries before the NDK build begins.
Ensures that no stale/obsolete shared libraries are left in the
application's project path before the build.

Also fix a minor typo that made the ABI selection process not
work properly in certain cases.
2009-11-23 16:12:12 -08:00
Roman Nurik
14f81209b7 am 0431e70d: Remove placeholder "-" label text, that was breaking the build.
Merge commit '0431e70ddd0673ed4d9cf69d211592cb2926c076' into eclair-mr2

* commit '0431e70ddd0673ed4d9cf69d211592cb2926c076':
  Remove placeholder "-" label text, that was breaking the build.
2009-11-23 15:37:35 -08:00
Roman Nurik
0431e70ddd Remove placeholder "-" label text, that was breaking the build. 2009-11-23 17:54:57 -05:00
Roman Nurik
536fc99b53 am a7178809: 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).
Merge commit 'a7178809f6aecff7c4e3ae3374b7cba5adc692bf' into eclair-mr2

* commit 'a7178809f6aecff7c4e3ae3374b7cba5adc692bf':
  Fresh new change for:
2009-11-23 14:24:37 -08: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
Roman Nurik
ea6616ac3d am f28c33b6: Merge change I4ba0290a into eclair
Merge commit 'f28c33b6ec3401537a386995e2ec13fbc65c1957' into eclair-mr2

* commit 'f28c33b6ec3401537a386995e2ec13fbc65c1957':
  Add Multiple Resolutions (MultiRes) sample code.
2009-11-23 13:51:01 -08: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
21acc90055 am e71c2828: am 1558abd6: Merge change I53e268db into eclair-sdk
Merge commit 'e71c282812a870c120ff8bf0989fd78c0191eeb2' into eclair-mr2

* commit 'e71c282812a870c120ff8bf0989fd78c0191eeb2':
  docs: make the apidemos app index page only display the
2009-11-23 10:13:44 -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
Android (Google) Code Review
1558abd6d3 Merge change I53e268db into eclair-sdk
* changes:
  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.
2009-11-23 09:57:22 -08:00
Roman Nurik
d7f64d5338 Add Multiple Resolutions (MultiRes) sample code. 2009-11-23 11:44:11 -05:00
David 'Digit' Turner
2e00a8137d am c7f23b57: Merge change Ifb9dee6f into eclair
Merge commit 'c7f23b570c16d99ce30b9819e28caee480795030' into eclair-mr2

* commit 'c7f23b570c16d99ce30b9819e28caee480795030':
  Add support for armeabi-v7a to the NDK.
2009-11-20 16:48:53 -08:00
Android (Google) Code Review
c7f23b570c Merge change Ifb9dee6f into eclair
* changes:
  Add support for armeabi-v7a to the NDK.
2009-11-20 16:44:45 -08:00
Eric Fischer
7c91ccfe14 am 2ddbd568: Update zoneinfo time zone data to version 2009s
Merge commit '2ddbd5682b60c8604b0b85ccb280624f8845e22d' into eclair-mr2

* commit '2ddbd5682b60c8604b0b85ccb280624f8845e22d':
  Update zoneinfo time zone data to version 2009s
2009-11-20 15:42:04 -08: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
Eric Fischer
2ddbd5682b Update zoneinfo time zone data to version 2009s
http://b/issue?id=2272477
2009-11-20 14:37:35 -08:00
David 'Digit' Turner
f5862d8da6 Add support for armeabi-v7a to the NDK.
This patch modifies the NDK build scripts to support the 'armeabi-v7a' ABI.
(For the record, it corresponds to Thumb-2 + FPU support, to speed up native
code on certain devices like the Droid).

To build for this ABI, the Application.mk file should use a line like:

  APP_ABI := armeabi-v7a

It is also possible to build for both 'armeabi' and 'armeabi-v7a' by using:

  APP_ABI := armeabi armeabi-v7a

This will result in the generation of two distinct shared libraries that both
will be copied to the final application package.

This is dependent on having GCC 4.4.0 prebuilt binaries under
build/prebuilt/<host>/arm-eabi-4.4.0, since gcc 4.2.1 does not support
this new ABI.

Note that this also changes the NDK to use gcc 4.4.0 by default, unless
the user defines NDK_TOOLCHAIN to 'arm-eabi-4.2.1' in its environment to
switch back to the previous one.
2009-11-20 14:07:15 -08:00
David 'Digit' Turner
1f22df41d8 am b4e31b93: Merge change I3f0d5eb5 into eclair
Merge commit 'b4e31b931d08e6269a194a1c24e23281410dff64' into eclair-mr2

* commit 'b4e31b931d08e6269a194a1c24e23281410dff64':
  Update the build-toolchain.sh script.
2009-11-19 13:49:22 -08:00
Android (Google) Code Review
b4e31b931d Merge change I3f0d5eb5 into eclair
* changes:
  Update the build-toolchain.sh script.
2009-11-19 13:45:53 -08:00
David 'Digit' Turner
69eeb8a22f Update the build-toolchain.sh script.
This patch modifies the script to be able to build all prebuilt toolchain
binaries in a single call. I.e. if passed a recent toolchain source package
generated with download-toolchain-sources.sh, then it will build both
GCC 4.2.1 and GCC 4.4.0 and place them in the final prebuilt tarball.

We need this because, while we're going to switch to gcc 4.4.0 by default
in a new version of the NDK, the 4.4.0 C++ compiler is more strict about
various constructs and might refuse to build certain sources. An option
will be given to application developers to use 4.2.1 instead, to keep their
sources building.

Other changes include:

Move all builds into a random temporary directory under /tmp by default,
unless you use --build-out=<path>.

Cleanup the build out directory on succesful build

The generated tarball is now named android-ndk-prebuilt-<date>-<host>.tar.bz2
by default, unless you use the new --release=<name> option which will replace
<date> with <name> instead.

Removal of un-needed files (e.g. info or man pages, libiberty static library,
etc..) to reduce the size of the final tarball.
2009-11-19 13:43:11 -08:00
Jeff Hamilton
4865c5393f Add a runtest entry for the database tests. 2009-11-19 10:15:23 -08:00
Xavier Ducrohet
8915fd90cf am 01d2087c: resolved conflicts for merge of 19cb54ea to eclair
Merge commit '01d2087c87627df5bfc7e684f62466e0a662197a' into eclair-mr2

* commit '01d2087c87627df5bfc7e684f62466e0a662197a':
  Remove components that were moved to sdk.git and update build scripts.
2009-11-18 17:14:02 -08:00
Xavier Ducrohet
01d2087c87 resolved conflicts for merge of 19cb54ea to eclair
Change-Id: I182195aeaad88aebc82988b1cec9ebda0c359bc8
2009-11-18 17:07:11 -08:00
Dan Egnor
e970b3d160 Add "common" runtest definition (for android-common library tests) 2009-11-18 12:05:35 -08:00
Xavier Ducrohet
19cb54ea7d Remove components that were moved to sdk.git and update build scripts. 2009-11-17 15:17:25 -08:00
Raphael
6ae0010c61 am 20d03274: Merge change I6809bd44 into eclair
Merge commit '20d0327492490b676a0a1036754e7742fb92bb69' into eclair-mr2

* commit '20d0327492490b676a0a1036754e7742fb92bb69':
  SDK Manager: XML Schema for sdk-repository v2
2009-11-16 19:56:59 -08:00
Android (Google) Code Review
20d0327492 Merge change I6809bd44 into eclair
* changes:
  SDK Manager: XML Schema for sdk-repository v2
2009-11-16 19:39:13 -08:00
Raphael
2db89e8fe9 SDK Manager: XML Schema for sdk-repository v2
v2 will be a full standalone schema, not reusing any parts of v1.
Each package type is now defined using a named type, which means
a v3 version would redifine the top element and could include
some named types of v2.

Unfortunately we cannot *extend* the top element from v1 because
extension in XML Schema seems to imply a sequence (i.e. fixed order)
whereas we use a "choice" mode to have 0..N of each types in any
order.

SDK BUG 2252825

Change-Id: I6809bd4486ef2d7f2473995ed5a0abb7fa377bdd
2009-11-16 18:05:10 -08:00
David 'Digit' Turner
5ad866dd5d am e4df0ea1: Merge change I8d8b5816 into eclair
Merge commit 'e4df0ea14bcfc6e2d395e36970749cf9a916a0fb' into eclair-mr2

* commit 'e4df0ea14bcfc6e2d395e36970749cf9a916a0fb':
  Update build-toolchain.sh to be able to build gcc 4.4.0
2009-11-16 14:59:15 -08:00
David 'Digit' Turner
245c4282db am f3ec7a02: Merge change If72f81fb into eclair
Merge commit 'f3ec7a02777ed9fcbe995711b8cb3f31de01d274' into eclair-mr2

* commit 'f3ec7a02777ed9fcbe995711b8cb3f31de01d274':
  Add a script to download and package the toolchain sources.
2009-11-16 14:59:11 -08:00
Android (Google) Code Review
e4df0ea14b Merge change I8d8b5816 into eclair
* changes:
  Update build-toolchain.sh to be able to build gcc 4.4.0
2009-11-16 14:53:57 -08:00
Android (Google) Code Review
f3ec7a0277 Merge change If72f81fb into eclair
* changes:
  Add a script to download and package the toolchain sources.
2009-11-16 14:53:45 -08:00
Raphael
12ed1a7d9a am 5df7d75e: am f4c63fae: SDK Manager support for future schemas.
Merge commit '5df7d75e1c9cc73b4fe0111f89f099e8dba3486b' into eclair-mr2

* commit '5df7d75e1c9cc73b4fe0111f89f099e8dba3486b':
  SDK Manager support for future schemas.
2009-11-16 14:29:40 -08:00
Raphael
5df7d75e1c am f4c63fae: SDK Manager support for future schemas.
Merge commit 'f4c63fae0c6d0654ab49e05b3292e218f82f97d8' into eclair

* commit 'f4c63fae0c6d0654ab49e05b3292e218f82f97d8':
  SDK Manager support for future schemas.
2009-11-16 14:25:49 -08:00
Raphael
f4c63fae0c SDK Manager support for future schemas.
This CL cleans up the v2 test by removing all v2 stuff
from the code right now. We only keep the part that
handles future schemas and right now the latest version is 1.

Change-Id: I31e6aeaf0582e94c67e1cc8317bec479ea7a52e7
2009-11-16 13:59:03 -08:00
Raphael
eeef441637 am 6dcf4214: resolved conflicts for merge of 0da4f158 to eclair
Merge commit '6dcf42149b183e2a2a062c90d60a2803cf01523a' into eclair-mr2

* commit '6dcf42149b183e2a2a062c90d60a2803cf01523a':
  SDK Manager: phase 1 of support for future schemas
2009-11-16 13:18:41 -08:00
Raphael
6dcf42149b resolved conflicts for merge of 0da4f158 to eclair
Fixes a merge eclair-sdk => eclair conflict of
  SDK Manager: phase 1 of support for future schemas
  SDK BUG 2252825

Change-Id: I7530bdb7315439416abad114ef59208f8d4b3ab8
2009-11-16 13:07:43 -08:00