Also add a source.properties (we'll install it on the vendor/google
script part of the script).
SDK BUG 2173135
Change-Id: Icb0f22a65ffd819bf7b0f48adbec51cbc1243f71
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
- 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
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.
Merge commit '3e83e8bc8b969a993b026dab9d13b99b315d9af0' into eclair
* commit '3e83e8bc8b969a993b026dab9d13b99b315d9af0':
Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
Merge commit '8fccf9eb7c099a42729d0ff4a8a250f73a68c3f9' into eclair
* commit '8fccf9eb7c099a42729d0ff4a8a250f73a68c3f9':
mgwz.dll must be packaged next to tools/zipalign.exe in the Windows SDK.
Merge commit '25ec799863219bfa1b5b8c71b5033cb450e70918' into eclair
* commit '25ec799863219bfa1b5b8c71b5033cb450e70918':
Add OSGi.jar to the SDK (required by org.eclipse.jface)
Merge commit 'a901c3d41203e6cbbf5cd72722fcf78f5919feff'
* commit 'a901c3d41203e6cbbf5cd72722fcf78f5919feff':
BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK
Merge commit '7a3e95aeba5109ef6aa4c9488be9416e7355067c'
* commit '7a3e95aeba5109ef6aa4c9488be9416e7355067c':
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.
Merge commit '5379e0981ebd570faba0dcd13c087f71d856e0f0'
* commit '5379e0981ebd570faba0dcd13c087f71d856e0f0':
Remove section about USB driver as not everything is directly available anymore
Merge commit '91e0a8bb9cc1e1478bf65627dc4faeb82ee3825d'
* commit '91e0a8bb9cc1e1478bf65627dc4faeb82ee3825d':
Fix minor typo and duplicated entry in sdk.atree
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.
Merge commit 'f74c1d2fb76ed6f3a08c76f3c4dc7c783c39383c'
* commit 'f74c1d2fb76ed6f3a08c76f3c4dc7c783c39383c':
Add default version files into the SDK for docs/tools/platforms.
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.