Commit Graph

402 Commits

Author SHA1 Message Date
Xavier Ducrohet
9057041cf8 Adds call back to the SDK updater for SDK content notifications.
Make ADT reload the SDK when a new package is installed/removed through the
SDK Updater.
2009-07-29 17:36: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
c5b9a676e7 Prevent SDK Updater progress dialog from showing off screen. 2009-07-27 15:39:42 -07:00
Xavier Ducrohet
bc8b16505e Prevent SDK updater dialog from showing offscreen. 2009-07-27 15:26:10 -07:00
Xavier Ducrohet
510248e2e1 Add Apache Commons Compress to ADT (required by sdklib) 2009-07-24 17:19:30 -07:00
Android (Google) Code Review
686fddb069 Merge change 8528 into donut
* changes:
  Allow override of default symbol location for native heap library resolution
2009-07-24 13:40:35 -07:00
Android (Google) Code Review
1b742290b6 Merge change 8537 into donut
* changes:
  Fix the update check for doc packages.
2009-07-24 13:40:05 -07:00
Xavier Ducrohet
b59daafde4 Fix the update check for doc packages. 2009-07-24 13:39:04 -07:00
Android (Google) Code Review
84c9d60322 Merge change 5271 into donut
* changes:
  Script to strip out unused translations when you change the base strings.xml.
2009-07-24 13:28:09 -07:00
Xavier Ducrohet
bf29a5e611 Allow override of default symbol location for native heap library resolution
Default location of the symbols is $ANDROID_PRODUCT_OUT/symbols.
Setting the env variable ANDROID_SYMBOLS allows you to override this location
so that DDMS goes look for the symbol in a different location when
resolving native heap addresses.
2009-07-24 13:19:24 -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
e5bfd50ece Also filter the list of Archives to only show the compatible ones. 2009-07-23 18:02:07 -07:00
Xavier Ducrohet
fbeb74a610 Add a checkbox to only show packages that are updates or new. 2009-07-23 17:07:01 -07:00
Xavier Ducrohet
ecc85daf7b Fix loading of user repository and add refresh when adding/removing. 2009-07-23 14:43:49 -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
Android (Google) Code Review
9811d6b1f2 Merge change 8298 into donut
* changes:
  Minor NPE fix.
2009-07-22 20:01:20 -07:00
Xavier Ducrohet
ce6f5c964f Minor NPE fix. 2009-07-22 19:51:10 -07:00
Xavier Ducrohet
a8721e7040 Move ADT/DDMS plug-ins to 0.9.2 2009-07-22 18:37:33 -07:00
Xavier Ducrohet
a399a681d5 Add support for add-on based on preview of platforms. 2009-07-22 18:12:30 -07:00
Xavier Ducrohet
6baf93c2c0 Fix erroneous assert. 2009-07-22 14:08:07 -07:00
Xavier Ducrohet
1b9c1e4dd2 Refactored AndroidXPathFactory into sdklib. 2009-07-22 09:42:20 -07:00
Xavier Ducrohet
5adc2f6403 Enforce codename value for minSdkVersion in the Ant build.
If the Ant project is targetting a preview platform, the manifest must
declare minSdkVersion to be the platform codename.
2009-07-21 18:34:15 -07:00
Xavier Ducrohet
8c78ba6438 Use the proper URL for the google repository.
Also fix an NPE.
2009-07-21 15:25:32 -07:00
Xavier Ducrohet
ce359b0e8a Generalize usage of AndroidVersion instead of Api level in the SDK packages.
Platform, add-on and doc packages used to use Api Level to figure out
upgrade logic. This is replaced by AndroidVersion to properly handle
codename versions.
2009-07-21 13:48:37 -07:00
Xavier Ducrohet
f2869cf9a9 Add support for preview versions of platforms.
ro.build.version.codename is a new property indicating whether a platform
is in its release form (value = REL) or in development (value = dev branch
name such as Donut). When the codename indicates a development/preview version
then the API level must be ignored and this codename is used as a unique
identifier of the platform.

IAndroidTarget has been changed to return an instance of a new class
AndroidVersion instead of the api level directly. This class helps deals with
the logic of comparing version from targets or devices.

This change impacts all of the sdk manager to deal with targets identified by
codename instead of api level. This in turn impacts everything that relies
on the sdkmanager: ADT (build, launch, project creation), the AVD manager,
the SDK updater.
2009-07-20 18:11:21 -07:00
Raphael
dc87dd3052 ADT Extract String ID: use Context.getString(id) directly,
no need for Context.getResources().
2009-07-14 12:33:06 -04:00
Raphael
138a9a4f6e ADT Extract String ID: try to find a method or a field that will
give the Context for using resource strings.
2009-07-14 11:29:18 -04:00
Raphael
b550cce443 ADT XML extract string ID: fix inverted test. 2009-07-14 08:28:54 -04:00
Raphael
7feb9a82a3 ADT XML extract string ID: generate Context.getResources() calls
depending on the Java context of the replacement.

In the input page also display the string ID values.
2009-07-14 08:11:57 -04:00
Raphael
ac50c3aedf ADT XML extract string IDs: display existing IDs of the
selected file.
2009-07-12 16:05:40 -04:00
Raphael
47acc05bcf ADT XML extract string: allow selection to be the attribute name. 2009-07-12 14:40:41 -04:00
Raphael
b3ba0afc57 ADT: Extract String IDs from Layout XML strings.
This would have been part of CL #7041 if I had not forgotten
a last git commit -a --amend.
2009-07-12 10:41:46 -04:00
Raphael
32ad938b85 ADT: Extract String IDs from Layout XML strings. 2009-07-11 15:22:37 -04:00
Android (Google) Code Review
9412517b3f Merge change 6651 into donut
* changes:
  AVD Selector: Add a "Start" button to launch the selected AVD in a new emulator. Doesn't detect if the AVD is already running; instead prints the emulator error.
2009-07-09 12:53:30 -07:00
Raphael
3684b06a4f AVD Selector: Add a "Start" button to launch the selected AVD in a
new emulator. Doesn't detect if the AVD is already running; instead
prints the emulator error.
2009-07-09 15:37:09 -04:00
Raphael
009801b0ad SDK Updater: detect when install addon or tools to deal with
updating or restarting adb.
2009-07-02 21:41:20 -07:00
Raphael
fa9cd9a694 SDK Updater: fix android.bat for Windows to change dirs to the
temp dir. This removes a locked handle to the SDK/tools and allows
the update to update its own tools folder.
2009-07-02 16:21:48 -07:00
Raphael
de21e3ab24 Update comments in AvdManager 2009-07-01 11:26:26 -07:00
Android (Google) Code Review
24d287822f Merge change 5913 into donut
* changes:
  SDK Updater: Make it possible for tools to update themselves.
2009-07-01 10:45:14 -07:00
Xavier Ducrohet
f5af7ce213 Make ADT use new sdklib API
This fixes the build.
2009-07-01 05:48:03 -07:00
Xavier Ducrohet
59fc8c9d06 All actions in AdvManager now receives their own ISdkLog.
Also added 'update' action to AvdSelector.
2009-07-01 03:14:06 -07:00
Raphael
c2446273c6 SDK Updater: Make it possible for tools to update themselves.
In the bat launcher for Windows, copy all the
JARs needed to run the UI in a temp folder and execute
from there.

This allows the updater to update the tools folder
without locking itself.
2009-07-01 02:16:48 -07:00
Xavier Ducrohet
1ceaaeae68 Add tooltips and a legend (AVD selector)
Also added some TODOs
2009-07-01 01:26:22 -07:00
Raphael
329c13cbe3 SDK Updater: refine error handling when fetching sources. 2009-06-30 20:32:40 -07:00
Raphael
9cf8f819fa SDK Updater: Add repository.xml if not specified in URLs 2009-06-30 11:36:44 -07:00
Raphael
ee763d1307 SDK Updater: Better handling of fetch errors.
The remote page now shows fetch errors in the tree.
Using refresh tries to reload error sources.
2009-06-30 11:29:51 -07:00
Xavier Ducrohet
6c3fa89aad Properly enable/disable buttons in the AVD selector.
Also fixed a small issue with selection in the checkbox
mode.
2009-06-30 07:37:32 -07:00
Xavier Ducrohet
c916aec2b2 Remove the obsolete AVD wizard. 2009-06-30 06:54:16 -07:00
Xavier Ducrohet
e78015c12d Plug the Android SDK window as the AVD manager.
- the "manager" button on the AVD selector (when not in manager
  will open the Android SDK window

- the AVD manager in the eclipse toolsbar open the Android SDK
  window as well.

Still left to do:
- remove the now obsolete AVD wizard
- figure out what to do with the other pages.
2009-06-30 06:38:30 -07:00