Commit Graph

38 Commits

Author SHA1 Message Date
Xavier Ducrohet
2cdd16b77f fix the build
Change-Id: Ica519f7e0adbc9fd48792198221c01da3e27fab8
2009-10-01 12:54:02 -07:00
Xavier Ducrohet
227b8768fa Load default GLE device profiles from the SDK.
Change-Id: Ife64397692912f892ec81af8237ac31914830be9
2009-09-30 23:01:19 -07:00
Xavier Ducrohet
8677a1704e Replace icon template with new style and multiple densities.
The icon in the templates of ADT was medium density only.
I added new densities (high and low), as well as updated to
the new Eclair style. Also added a version for Ant project.

Updated ADT and sdklib to deal with creating new projects
with all 3 icons.

In case of Ant project, this is done only if the icons
are present in the target platforms.

For ADT, this is done only if the project target donut
or later. Older project still have only one icon located
in drawable/

Change-Id: I77069a1e4902ef395d490526aabc40a26e33d4ca
2009-09-30 20:46:00 -07:00
Xavier Ducrohet
c51d184216 Update the project creation (from the command line):
- Make the distinction between the activity class name, manifest entry,
  fully-qualified name, and tested activity for the template place-holders.
  Test activity names now directly contain the full name (including the
  "Test" prefix) instead of the template adding it.
  This is required by the new 'create test-project'

- New action: create test-project
  This requires a path to the main project. It reads the package, activity
  name and target from the main project.
  The activity is read from the manifest and can be in a more complex form
  than previously expected (for instance .subpackage.MyClass, instead of
  simply MyClass). This is what required the re-work the activity related
  template place holders.
  Options:
   -m --main Location path of the project to test, relative to the new
             project [required]
   -n --name Project name
   -p --path Location path of the new project [required]

   Example: for 2 projects MyProject and MyTests located in the same folder,
            calling from their parent folder.

     android create test-project -p MyTests -m ../MyProject

- build.properties now only gets application.package for older targets
  as the new one get it directly from XPath

- Remove AndroidXPathFactory from the anttasks project as it was already
  in sdklib which is a dependency.

- Removed IntelliJ templates for the SDK. We haven't supported them for
  a while, and now that IntelliJ has built-in support for Android, it's
  not that useful anymore.

While there is the command line parameters for 'update test-project'
it's not yet implemented.

Change-Id: I663d4cb7f439bb2abfe866f893e58f4d13aff975
2009-09-27 18:08:00 -07:00
Xavier Ducrohet
1da1bd86b8 Add a new skin to the SDK.
Change-Id: I988a5a4bf372c0f8608facf64314ada1e9ee791e
2009-09-22 13:51:14 -07:00
Piotr Gurgul
6edb5a108e Add ant-based code coverage support to Android SDK
Target 'run-tests' launches all the unit tests against the tested project.
Target 'coverage' emma-instruments the tested project's classes,
runs the tests against instrumented classes, collects code coverage data
and extracts it to human-readable form as report.html.
android_test_rules.xml contain additional rules for test projects.
Test projects are auto-recognized by presence of the tested.project.dir
property, which will be auto-generated for tests projects. Temporarily,
please add this property manually to the build.properties file.
Current version is mainly tested with default, android generated test projects.
This version includes also fixing relative to absolute paths for
properties which are most likely to be changed by user in external
property file.
2009-09-09 18:32:03 -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
Xavier Ducrohet
b908430652 Cleanup SDK packaging: remove alias build files. 2009-08-26 11:23:20 -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
Xavier Ducrohet
49120ffe39 Remove WQVGA skin from SDK 2009-08-17 15:01:10 -07:00
Xavier Ducrohet
e8b2e0aded Fixed QVGA skin and added WQVGA432 skin. 2009-08-17 13:30:29 -07:00
Xavier Ducrohet
25ec799863 Add OSGi.jar to the SDK (required by org.eclipse.jface) 2009-08-14 15:26:33 -07:00
Xavier Ducrohet
c98f3e1a2d Revamped QVGA skin and new WVGA 800/854 skins
BUG: 1944280
2009-08-13 21:02:32 -07:00
Raphael
f6abec3376 BUG 1993354 : Add zipalign to SDK 2009-08-11 15:37:00 -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
91e0a8bb9c Fix minor typo and duplicated entry in sdk.atree 2009-07-28 16:28:09 -07:00
Xavier Ducrohet
b519db4eed Add notice file to platform folder. 2009-07-28 16:19:23 -07:00
Xavier Ducrohet
6675fec474 First pass at a WVGA skin. 2009-07-24 19:23:23 -07:00
Xavier Ducrohet
e0f85e6c73 Delete non rotating skins and create a QVGA rotating skin.
HVGA-P and HVGA-L were redundant with HVGA which supports both orientations.
QVGA-P and QVGA-L has been replaced with QVGA which supports both orientations.
2009-07-24 18:06:05 -07:00
Xavier Ducrohet
f74c1d2fb7 Add default version files into the SDK for docs/tools/platforms. 2009-07-23 18:25:41 -07:00
Xavier Ducrohet
797654a452 Use Apache Commons Compress instead of java.util.zip
When the SDK installer unarchives the zip files, it is important to keep
the permissions for executable (Linux/MacOS) or the tools required to
build applications (aapt, aidl, ...) won't work.

Since java.util.zip does not provide support for permissions, we now
use the Apache Commons Compress component that allows us to read the
permission from the archive.
2009-07-23 12:59:42 -07:00
Xavier Ducrohet
76033864c5 Add GestureBuilder to the samples. 2009-07-22 15:47:57 -07:00
Xavier Ducrohet
c5a89e256c Change the SDK, DDMS and Traceview to work with the new SWT libraries.
The SDK now contains 32 and 64 bit version of SWT. DDMS and Traceview
use the archquery java app to check the architecture of the VM to decide
which version of SWT should be used to run the apps.
2009-06-04 14:50:43 -07:00
Xavier Ducrohet
53f479a367 Update the SDK packaging to include sdkuilib.
This is now necessary since the 'android' tool has a UI.
2009-05-18 13:30:37 -07:00
Xavier Ducrohet
5cb2d23022 AI 148875: Fix Google add-on to include Streetview, remove the add-account from the SDK (this is google specific), update the google Add-on to rev 2
Automated import of CL 148875
2009-05-14 17:04:14 -07:00
Xavier Ducrohet
7215471a97 AI 145380: Fixes for add-on build
Automated import of CL 145380
2009-04-09 12:21:52 -07:00
Raphael Moll
058dad6d77 AI 143876: Include hprof-conv in SDK (bug #1640225)
BUG=1640225

Automated import of CL 143876
2009-03-31 17:16:46 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
d2f2b1d7b7 auto import from //depot/cupcake/@132589 2009-03-03 14:03:58 -08:00
The Android Open Source Project
b8747bc7b1 auto import from //depot/cupcake/@137055 2009-03-02 22:54:20 -08:00
The Android Open Source Project
74a996a2c7 auto import from //branches/cupcake/...@132569 2009-02-20 07:38:28 -08:00
The Android Open Source Project
ff4b5f241f auto import from //branches/cupcake/...@132276 2009-02-19 10:57:29 -08:00
The Android Open Source Project
e3c5766074 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:58 -08:00
The Android Open Source Project
7b53e39377 auto import from //branches/cupcake/...@127101 2009-01-20 14:03:55 -08:00
The Android Open Source Project
95cf464c5a auto import from //branches/cupcake/...@125939 2009-01-09 17:51:19 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00