Commit Graph

374 Commits

Author SHA1 Message Date
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
Xavier Ducrohet
f0ac8e8a09 AVD creation dialog. 2009-06-30 05:17:00 -07:00
Android (Google) Code Review
d63563fbb0 Merge change 5761 into donut
* changes:
  Misc cleanup from a previous commit.
2009-06-30 00:58:46 -07:00
Xavier Ducrohet
c851d71fa2 Misc cleanup from a previous commit. 2009-06-30 00:44:18 -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
955e08b520 Skins can now provide their own hardware support (via AVDs) 2009-06-29 08:01:02 -07:00
Xavier Ducrohet
4551d28399 Details dialog for AVD from the avd selector. 2009-06-29 06:20:15 -07:00
Android (Google) Code Review
6fe28b1f7f Merge change 5552 into donut
* changes:
  SDK Updater: Store local source properties when installing.
2009-06-26 15:14:15 -07:00
Raphael
1a2584be47 SDK Updater: Store local source properties when installing.
When installing an archive, a "source.properties" file is saved
in the directory that contains all the information from the
source (Source URL, package attributes, archive attributes.)

When loading local packages, these properties are used to
recreate the local package attributes if present. This is
also used to indentify local extra packages.
2009-06-26 14:37:01 -07:00
Android (Google) Code Review
e860ea0676 Merge change 4584 into donut
* changes:
  Add hosttestlib library.
2009-06-26 14:17:31 -07:00
Raphael
0ec4e5a717 SDK Updater: UI to add new sources URL. 2009-06-26 10:55:30 -07:00
Raphael
6183584988 SDK Updater: Cleanup a bunch of todos 2009-06-25 20:00:05 -07:00
Raphael
426ecc9efd SDK Updater: logic to load/save user sources and to delete them. 2009-06-25 18:06:00 -07:00
Raphael
7b2bb7452f SDK Updater: Update buttons state in local/remote page
based on selection.
2009-06-25 15:21:09 -07:00
Brett Chabot
acedbcb8fa Add hosttestlib library.
hosttestlib is a simple JUnit extension framework for tests that need to interact externally (ie
from a host machine) with an Android device.
2009-06-19 17:05:29 -07:00
Android (Google) Code Review
a43be8798e Merge change 4689 into donut
* changes:
  Update the API of ApkBuilder to make it clearer what is stable and what isn't.
2009-06-19 11:15:58 -07:00
Raphael
0d9a6278b4 Fix api change following a rebase. 2009-06-18 21:42:36 -07:00
Android (Google) Code Review
3962412784 Merge change 4685 into donut
* changes:
  SDK Updater: use separate license node in XML. Support extra packages.
2009-06-18 21:24:38 -07:00
Xavier Ducrohet
85a31f6f1d Update the API of ApkBuilder to make it clearer what is stable and what isn't. 2009-06-18 16:51:41 -07:00
Raphael
48c6578bb6 SDK Updater: use separate license node in XML. Support extra packages. 2009-06-18 16:40:12 -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
Android (Google) Code Review
963aebaffa Merge change 4646 into donut
* changes:
  Force the id of TabWidget to be android:id/tabs
2009-06-18 12:33:17 -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
630f7df118 Merge change 4575 into donut
* changes:
  SDK Updater: Better guess for the addon folder name.
2009-06-18 12:01:58 -07:00
Android (Google) Code Review
3f351dd5df Merge change 4555 into donut
* changes:
  Force UTF-8 encoding for SDK files.
2009-06-18 10:42:43 -07:00
Raphael
691beb35a1 SDK Updater: Better guess for the addon folder name.
- Always unzip the archives first and get their root zip dir.
- Try to reusing an existing addon folder first.
- Or the root zip dir.
- Or come up with a better name for the addon folder.
2009-06-17 21:28:51 -07:00
Xavier Ducrohet
fa0286d4d3 Force UTF-8 encoding for SDK files.
- project .properties files
- AVD ini files (<name>.ini and config.ini)
- add-on manifest
2009-06-17 17:51:22 -07:00
Raphael
fb2a1430c9 SDK Updater: fix accept callback to update Install Selected button. 2009-06-17 15:39:52 -07:00