Commit Graph

158 Commits

Author SHA1 Message Date
Xavier Ducrohet
6849e85918 Fix broken XML generated during "Extract string"
BUG: 2066455
2009-08-19 18:53:41 -07:00
Xavier Ducrohet
ed235c7891 ADT Export wizard now calls ZipAlign 2009-08-17 16:07:11 -07:00
Android (Google) Code Review
f07bd569c3 Merge change 21242 into donut
* changes:
  Codename in minsdkversion for release platform shows 'null' in error string
2009-08-14 10:54:48 -07:00
Xavier Ducrohet
60775b89cd Codename in minsdkversion for release platform shows 'null' in error string 2009-08-13 21:49:14 -07:00
Android (Google) Code Review
49ac0f9df0 Merge change 21210 into donut
* changes:
  Make sure that the android pref folder is always present when queried.
2009-08-13 21:35:06 -07:00
Xavier Ducrohet
c2a9fe5249 Make sure that the android pref folder is always present when queried.
BUG: 2053511
2009-08-13 21:10:01 -07:00
Android (Google) Code Review
0d223cab6a Merge change 21051 into donut
* changes:
  Add support for the new qualifier in the config selector.
2009-08-13 14:35:44 -07:00
Xavier Ducrohet
cf2970bea8 Add support for the new qualifier in the config selector. 2009-08-13 11:51:23 -07:00
Android (Google) Code Review
0cef5c4666 Merge change 21056 into donut
* changes:
  Add a functional test that renders all the layouts of ApiDemos
2009-08-13 11:48:53 -07:00
Xavier Ducrohet
6bc7ad58df Add a functional test that renders all the layouts of ApiDemos 2009-08-13 11:47:54 -07:00
Android (Google) Code Review
2f8d7a9fff Merge change 21036 into donut
* changes:
  Also display error on empty minSdkVersion for preview targets.
2009-08-13 11:04:48 -07:00
Xavier Ducrohet
7e97a5d23f Also display error on empty minSdkVersion for preview targets.
BUG: 2050928
2009-08-12 17:57:35 -07:00
Raphael
b800d3e6c3 BUG 2050564 : Rename ADT 'Android AVD Manager' to 'Android SDK and AVD Manager' 2009-08-12 16:14:00 -07:00
Android (Google) Code Review
0edddddd14 Merge change 20877 into donut
* changes:
  Add internal support for screen size/ratio, and version qualifiers.
2009-08-11 19:25:59 -07:00
Xavier Ducrohet
64bd2d5f3a Add internal support for screen size/ratio, and version qualifiers.
UI will come later.
BUG: 2048256, 2048264
2009-08-11 19:18:48 -07:00
Android (Google) Code Review
19f8d10dab Merge change 20866 into donut
* changes:
  Make the res qualifiers aware of the project target to handle differnt behavior.
2009-08-11 18:44:08 -07:00
Xavier Ducrohet
ae60bdab15 Make the res qualifiers aware of the project target to handle differnt behavior.
First behavior change: \d{3}dpi replaced with hdpi/mdpi/ldpi/nodpi
2009-08-11 18:04:39 -07:00
Xavier Ducrohet
8a5a7dab37 Change ADT/DDMS plug-ins version to 0.9.3 2009-08-11 15:34:04 -07:00
Xavier Ducrohet
2f39cedad3 Fix the DeviceChooserDialog table issues.
On Linux, the gtk table seems to resize itself automatically when the
layout is computed and forces the last column to resize itself at +18 pixels.
This has a problematic impact on this dialog as it is not resizable and is
made to match the size of the content. As the dialog is used time after time
the last column grows by 18 pixels at every use up to a point where it
doesn't fit the screen.
Since storing the columns size is not that useful and I couldn't find a
way to ignore this first resize, I'm just removing the width storage.
2009-08-03 14:23:16 -07:00
Raphael
1d3395b25b ADT: fix PreCompilerBuilder to use minSdkVersion as a string, not an int. 2009-07-31 13:17:52 -04:00
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
510248e2e1 Add Apache Commons Compress to ADT (required by sdklib) 2009-07-24 17:19:30 -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
1b9c1e4dd2 Refactored AndroidXPathFactory into sdklib. 2009-07-22 09:42:20 -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
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
Xavier Ducrohet
f5af7ce213 Make ADT use new sdklib API
This fixes the build.
2009-07-01 05:48:03 -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
Raphael
b156e94ff3 ADT #1843641: fix 'Extract string from layout creates blank string'
Issue was that the 2 input fields where only update when the page
was correctly validate.
2009-06-29 14:21:26 -07:00
Xavier Ducrohet
ef2f55d0b7 Add support to delete AVD in the new AvdSelector.
Also: change button order in the update chooser dialog.
2009-06-18 16:01:05 -07:00
Xavier Ducrohet
ecf30d99a1 Force the id of TabWidget to be android:id/tabs 2009-06-18 12:27:51 -07:00
Android (Google) Code Review
2ea1594b1a Merge change 4111 into donut
* changes:
  Move package installation logic from ADT to ddmlib.
2009-06-17 15:03:50 -07:00
Xavier Ducrohet
2f06069269 First step of a more standalone AvdSelector.
- New/Delete/Info/Refresh/Manager buttons.
- Ability to set any kind of AVD filter
- Self-refresh: Selector knows the AvdManager and can refresh itself.
- Manager mode or simple (selection or checkboxes)
- Manager mode displays broken AVDs.

Updated the SdkUpdate AVD page and the various use of the Selector in ADT.
2009-06-17 11:40:19 -07:00
Brett Chabot
377c706e0c Move package installation logic from ADT to ddmlib. 2009-06-15 19:25:48 -07:00
Xavier Ducrohet
98198685fd Use the same lock for Sdk class than the one used for loading the SDK.
This will prevent deadlocks when launching Eclipse.
2009-06-09 15:38:45 -07:00
Xavier Ducrohet
0d33d5a5cc Move the custom widgets for avd/targets/apk-config into internal.widgets 2009-06-09 13:49:51 -07:00
Raphael
0104d05f40 ADT: make sure to log exceptions that might happen when
loading the SDK.
2009-06-04 15:13:28 -07:00
Android (Google) Code Review
3c502eb060 Merge changes 2853,2885 into donut
* changes:
  Misc updates on the Sdklib.
  Export all ADT packages.
2009-06-02 11:56:59 -07:00
Xavier Ducrohet
8a0c221a20 Export all ADT packages. 2009-06-01 14:38:29 -07:00
Android (Google) Code Review
595a016713 Merge change 2771 into donut
* changes:
  SDK Updater: parse local packages, download and install remote packages.
2009-06-01 12:04:59 -07:00