OSDN Git Service
Xavier Ducrohet [Fri, 9 Jul 2010 00:37:45 +0000 (17:37 -0700)]
Add new default devices to the layout editor.
Those devices represent one of each res/density combo for officially
supported screens.
See http://developer.android.com/guide/practices/screens_support.html#range
Change-Id: I6b8348ae1ab96b6b1f27fa2afd655ff6f3866dd8
Xavier Ducrohet [Thu, 8 Jul 2010 18:33:49 +0000 (11:33 -0700)]
Mark linked folders from Library projects to be derived.
Team plug-ins should already ignore linked resources, but it seems
that some don't so marking them as derived is a safer bet.
Change-Id: Id1c82ae8a5aafabd39829034aa805cd3339f0c1a
Raphael Moll [Fri, 2 Jul 2010 22:55:40 +0000 (15:55 -0700)]
Merge "ADT: Fix NPE in resource editor on Eclipse 3.6"
Xavier Ducrohet [Fri, 2 Jul 2010 22:06:25 +0000 (15:06 -0700)]
Merge "Disable unsupported feature for now."
Raphael Moll [Fri, 2 Jul 2010 21:41:39 +0000 (14:41 -0700)]
ADT: Fix NPE in resource editor on Eclipse 3.6
SDK Bug:
2814467
The fix is a workaround around Eclipse issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318108
Change-Id: I5684db244d5663ffa47407bd356a5bd233578612
Raphael Moll [Fri, 2 Jul 2010 21:54:41 +0000 (14:54 -0700)]
Merge "ADT GLE2: synchronized selection between canvas, outline and properties."
Xavier Ducrohet [Fri, 2 Jul 2010 18:51:54 +0000 (11:51 -0700)]
Disable unsupported feature for now.
Change-Id: I2f2af2a0ba6087b99a7d0b9ed3acea62a48991f4
Xavier Ducrohet [Fri, 2 Jul 2010 17:39:07 +0000 (10:39 -0700)]
Update change log with libraries in libraries.
Change-Id: Ie6c37e7273ef5ed6c006170f32af396f0b4ef98d
Xavier Ducrohet [Fri, 2 Jul 2010 16:55:44 +0000 (09:55 -0700)]
Merge "Update Android project properties to support libraries depending on libraries."
Xavier Ducrohet [Fri, 2 Jul 2010 16:55:36 +0000 (09:55 -0700)]
Merge "Fix icons for some DDMS view by cleaning up an redundant/obsolete .gitignore file."
Xavier Ducrohet [Fri, 2 Jul 2010 16:55:33 +0000 (09:55 -0700)]
Merge "ADT support for libraries depending on libraries."
Xavier Ducrohet [Fri, 2 Jul 2010 01:01:43 +0000 (18:01 -0700)]
Update Android project properties to support libraries depending on libraries.
This is simply enabling the ability to add libraries to a library project
in the UI.
Also updated the change log.
Change-Id: Ibaf67ce8c2af10ff890038a72de9f176bfae8592
Xavier Ducrohet [Wed, 30 Jun 2010 01:03:32 +0000 (18:03 -0700)]
ADT support for libraries depending on libraries.
Major change in the workflow linking projects and library together.
This is now done through a single job with a queue of action to do.
This ensure that each new opened project is processed one at a time
and not in parallel which would generate problems.
Change-Id: I2a05ada293a21faba65bb639092f77ff7e5ffb2d
Xavier Ducrohet [Fri, 2 Jul 2010 00:29:03 +0000 (17:29 -0700)]
Fix icons for some DDMS view by cleaning up an redundant/obsolete .gitignore file.
Change-Id: I3fc0fb9195b661b1b6732128cfd95e518ffb93b1
Xavier Ducrohet [Thu, 1 Jul 2010 16:30:02 +0000 (09:30 -0700)]
Merge "Allow for platform projects to be used with the "debug running app" button."
Raphael Moll [Thu, 1 Jul 2010 06:33:42 +0000 (23:33 -0700)]
ADT GLE2: synchronized selection between canvas, outline and properties.
This CL adds a LayoutCanvasViewer, a JFace viewer wrapping the
LayoutCanvas control. This allows the canvas to participate in the
workbench "site" selection.
To summarize:
- The workbench site selection service can be seen as "centralized"
service that registers selection providers and selection listeners.
- The editor part and the ouline are selection providers.
- The editor part, the outline and the property sheet are listener
which all listen to each others indirectly.
- Hilarity ensues.
I tried to add enough javadoc in the classes to explain what's
going on, so please tell me if more is needed. (Editor part also
has a link to the one web page article that brings some sense to
this stuff. I recommend reading the web page first.)
Change-Id: Ief83f9fe2fc1cb5c0c1fa9ae174a58c8daf17ac4
Raphael Moll [Tue, 29 Jun 2010 22:06:39 +0000 (15:06 -0700)]
Merge "ADT: Fix NPE in ConfigComposite"
Xavier Ducrohet [Tue, 29 Jun 2010 21:58:07 +0000 (14:58 -0700)]
Allow for platform projects to be used with the "debug running app" button.
Since there's no way to figure out automatically which project is valid
for a given running app, we read the name of the project through an
environment variable.
NOTE: The goal of this new feature is for people working on the
platform but who still want to use the DDMS plugin and some of its
features.
Change-Id: I6f124c0413dab5c9f1fb240a3b311ba7234c4378
Raphael Moll [Tue, 29 Jun 2010 21:52:16 +0000 (14:52 -0700)]
ADT: Fix NPE in ConfigComposite
For some reason the locale used by the ConfigState in the
ConfigurationComposite had null members. Failed to reproduce
it. One clue might be there was a non-selected GLE2 open
as an editor tab but the Java workspace was not the main
visible one. It's possible some event fired before the
composite controls got created.
Change-Id: I2c8b6c86842f3c772c2a7ec113941eb8fc01b9e4
Xavier Ducrohet [Tue, 29 Jun 2010 21:34:18 +0000 (14:34 -0700)]
Merge "Ant support for library depending on other libraries."
Raphael Moll [Tue, 29 Jun 2010 21:31:47 +0000 (14:31 -0700)]
Merge "ADT GLE2: Synchronize selection outline->canvas"
Xavier Ducrohet [Mon, 28 Jun 2010 21:47:13 +0000 (14:47 -0700)]
Ant support for library depending on other libraries.
Change-Id: Ief8261327f7917d158fc8ad4dd4e4c3d322bbce2
Xavier Ducrohet [Tue, 29 Jun 2010 17:56:35 +0000 (10:56 -0700)]
Merge "Update change log."
Xavier Ducrohet [Mon, 28 Jun 2010 20:58:11 +0000 (13:58 -0700)]
Update change log.
Change-Id: I7a3fbcc9d89f5c7e50f881c0029fbba1718cfcfe
Raphael Moll [Tue, 29 Jun 2010 04:50:14 +0000 (21:50 -0700)]
ADT GLE2: Synchronize selection outline->canvas
Change-Id: I21458fe649b2d62390edba5ea107afe888185d3f
Raphael Moll [Tue, 29 Jun 2010 00:39:53 +0000 (17:39 -0700)]
Fix ddms projects in Eclipse for Windows/Cygwin.
Change-Id: Ie68b8c0dd9eecbc14a2bb86247b767ea47c6842c
Raphael Moll [Mon, 28 Jun 2010 23:17:13 +0000 (16:17 -0700)]
ADT GLE2: OutlinePage NPE fix.
Change-Id: Ib54c5af251eb0a21fa43e9ecfa0878004516fc87
Xavier Ducrohet [Fri, 25 Jun 2010 22:11:17 +0000 (15:11 -0700)]
Support for aidl files in library project in the Ant build system.
Change-Id: I3e36e6f4db60d3d979b24c2b88d496f453394127
Xavier Ducrohet [Sat, 26 Jun 2010 02:00:05 +0000 (19:00 -0700)]
Merge "update 404'd source.android.com URLs"
Chris Peterson [Sat, 26 Jun 2010 00:32:29 +0000 (17:32 -0700)]
update 404'd source.android.com URLs
Change-Id: Ia902f1bd737eb1ecc0a015e9d63fd8a05cf3ae26
Xavier Ducrohet [Sat, 26 Jun 2010 00:18:07 +0000 (17:18 -0700)]
Merge "Fix the ddmlib/ddmuilib links making script."
Raphael Moll [Sat, 26 Jun 2010 00:03:54 +0000 (17:03 -0700)]
Merge "ADT GLE2: Outline Page, display root, preserve state."
Raphael Moll [Sat, 26 Jun 2010 00:03:46 +0000 (17:03 -0700)]
Merge "ADT GLE2: Outline with selection synchronized from canvas."
Xavier Ducrohet [Fri, 25 Jun 2010 17:38:13 +0000 (10:38 -0700)]
Fix the ddmlib/ddmuilib links making script.
Change-Id: I899d1094dd0b81ca47e5b0409e426f8cbe61f2b5
Xavier Ducrohet [Fri, 25 Jun 2010 01:31:57 +0000 (18:31 -0700)]
Remove hard-coded source folder name for library projects in ADT.
Previously, the library mechanism expected the library to have a single source folder called 'src'.
There can now be more than one source folder (but the 'gen' folder of the library is always excluded),
and they don't need to be directly under the project folder. For example src/java is supported.
Change-Id: If139bd69cb720c331a1e5d1543a0cd4a91b8d675
Xavier Ducrohet [Fri, 25 Jun 2010 16:02:19 +0000 (09:02 -0700)]
Merge "Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks."
Raphael Moll [Fri, 25 Jun 2010 05:07:20 +0000 (22:07 -0700)]
ADT GLE2: Outline Page, display root, preserve state.
- Correctly displays the root element of the layout.
- Preserve select and expanded state when reloading layout.
Change-Id: Ic5786d08fe4e36f02ff658f23e66c66f372f58f8
Raphael Moll [Wed, 23 Jun 2010 22:55:30 +0000 (15:55 -0700)]
ADT GLE2: Outline with selection synchronized from canvas.
Next CL will be selection synchro outline->canvas.
Change-Id: I0e395313f0365830db7eb96e33077844d68f301e
Xavier Ducrohet [Thu, 24 Jun 2010 21:22:56 +0000 (14:22 -0700)]
Fix error when closing a library and project(s) using it at the same time.
By the time the job launched to unlink the linked source folder is running
the main project will be closed and its properties cannot be edited.
Change-Id: I1e5d9f4eb4899d58d3de3d5cc5f422e42d2db71e
Xavier Ducrohet [Wed, 23 Jun 2010 00:55:45 +0000 (17:55 -0700)]
Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks.
Also cleaned up the abstraction layer to load images from ddmuilib since
its image are now always located inside ddmuilib jar.
Change-Id: Id9d283df18a05b7b5593e4593e90dac6e5548b94
Xavier Ducrohet [Thu, 24 Jun 2010 16:21:14 +0000 (09:21 -0700)]
Merge "Fix a crash in DDMS when parsing an unexpected sync event format due to a change in froyo."
Xavier Ducrohet [Thu, 24 Jun 2010 00:47:34 +0000 (17:47 -0700)]
Fix a crash in DDMS when parsing an unexpected sync event format due to a change in froyo.
Change-Id: I878911b3167ff12b48fa3ea3a7bfb9129466b9bd
Raphael Moll [Wed, 23 Jun 2010 22:58:16 +0000 (15:58 -0700)]
Moving SDK howto docs from development.git into sdk.git.
Will update content in another CL.
Change-Id: I7827d3f3cc6b8ba96822170949618dc75d879d28
Xavier Ducrohet [Tue, 22 Jun 2010 23:24:16 +0000 (16:24 -0700)]
Merge "Rename ADT's ApkBuilder to PostCompilerBuilder."
Xavier Ducrohet [Tue, 22 Jun 2010 22:55:23 +0000 (15:55 -0700)]
Merge "Update changelog for ADT with the new qualifier support."
Xavier Ducrohet [Tue, 22 Jun 2010 22:54:39 +0000 (15:54 -0700)]
Update changelog for ADT with the new qualifier support.
Change-Id: I7f3190d293a065724005d18eac8437b66aee1b21
Xavier Ducrohet [Tue, 22 Jun 2010 22:49:58 +0000 (15:49 -0700)]
Rename ADT's ApkBuilder to PostCompilerBuilder.
This was confusing with the presence of ApkBuilder in sdklib,
which really only does the final APK building, while the one in ADT
does all the building steps after compilation (resource packaging,
dexing the java bytecode, and finally calling Apkbuilder).
Change-Id: I5b8b566e1560fd00b0fb4e5353b101401afe2b13
Xavier Ducrohet [Tue, 22 Jun 2010 22:43:07 +0000 (15:43 -0700)]
Merge "Move the exceptions out of ApkBuilder."
Raphael Moll [Tue, 22 Jun 2010 22:38:33 +0000 (15:38 -0700)]
Merge "ADT GLE2: drag'n'drop in FrameLayout"
Xavier Ducrohet [Tue, 22 Jun 2010 21:58:22 +0000 (14:58 -0700)]
Move the exceptions out of ApkBuilder.
Change-Id: I66e767cbd4f3f3521bb994b281140a433f63291f
Xavier Ducrohet [Tue, 22 Jun 2010 21:18:27 +0000 (14:18 -0700)]
Merge "Add support for Dock, Night mode, and Navigation state resource qualifiers."
Raphael Moll [Tue, 22 Jun 2010 21:16:09 +0000 (14:16 -0700)]
ADT GLE2: drag'n'drop in FrameLayout
Change-Id: I397dfbee84928cc336238f3092e86364edeb1f18
Xavier Ducrohet [Tue, 22 Jun 2010 21:13:02 +0000 (14:13 -0700)]
Merge "New ApkBuilder class."
Xavier Ducrohet [Tue, 22 Jun 2010 19:37:08 +0000 (12:37 -0700)]
Add support for Dock, Night mode, and Navigation state resource qualifiers.
Change-Id: I6b84248354c48accaed4baab7d9c12d8757a335b
Xavier Ducrohet [Thu, 17 Jun 2010 18:04:26 +0000 (11:04 -0700)]
New ApkBuilder class.
this is meant to replace the one previously in apkbuilder.jar and the
one in ADT, while being part of the public sdklib API so that other
tools can use it if needed (to deprecate the command line version)
Another changelist will rename the ApkBuilder classes inside
ADT to make things less confusing.
Change-Id: I13f2a09d8d507a85be33af3fe659d175819cb641
Raphael Moll [Mon, 21 Jun 2010 23:45:25 +0000 (16:45 -0700)]
ADT GLE2: render moved items in RelativeLayout.
Change-Id: I8ac4d8dd7abe43a1e5b32e234a74be80708144ec
Raphael Moll [Mon, 21 Jun 2010 20:09:23 +0000 (13:09 -0700)]
Merge changes Ib9f3473d,Ic9ac3d34,I1e26f9c5,I64959e27
* changes:
ADT GLE2: cleanup some constants and review feedback.
ADT GLE2: drag'n'drop in RelativeLayout.
ADT GLE2: readme (first quick'n'dirty draft)
ADT GLE2: drag'n'drop for LinearLayout
Raphael Moll [Mon, 21 Jun 2010 19:58:20 +0000 (12:58 -0700)]
ADT GLE2: cleanup some constants and review feedback.
Change-Id: Ib9f3473d49bc27dfb87d29855a832a21bdcf3100
Raphael Moll [Sun, 20 Jun 2010 05:45:26 +0000 (22:45 -0700)]
ADT GLE2: drag'n'drop in RelativeLayout.
First pass. There are some details to take care of later.
Change-Id: Ic9ac3d34ce4061ed2a8c257ce6bd40ea30497eb8
Raphael Moll [Fri, 18 Jun 2010 20:23:42 +0000 (13:23 -0700)]
ADT GLE2: readme (first quick'n'dirty draft)
Change-Id: I1e26f9c50d647893d93747ccdbe73e27a5100cef
Raphael Moll [Fri, 18 Jun 2010 05:34:20 +0000 (22:34 -0700)]
ADT GLE2: drag'n'drop for LinearLayout
Change-Id: I64959e27f2c08c459e15323d7c8d2cdb041ba9dd
Xavier Ducrohet [Wed, 16 Jun 2010 22:02:35 +0000 (15:02 -0700)]
Move Apkbuilder into sdklib.
Change-Id: I88f7e6101b8c03157a320a6c9d9b7424ffbdc7f5
Xavier Ducrohet [Wed, 16 Jun 2010 22:06:40 +0000 (15:06 -0700)]
Remove more mentions of jarutils.
Change-Id: I1075f4e5f61128991aef8368ec0595ec0b8116b0
Raphael Moll [Wed, 16 Jun 2010 21:25:32 +0000 (14:25 -0700)]
Fix build. Jarutils was referenced by the eclipse pluging build script.
Change-Id: I2b1d5475ddcddf1f54260b688bf9b8236c2bf5cf
Xavier Ducrohet [Wed, 16 Jun 2010 19:01:36 +0000 (12:01 -0700)]
Merge "Refactoring of ApkBuilder to prepare for its integration into sdklib."
Xavier Ducrohet [Tue, 15 Jun 2010 23:20:59 +0000 (16:20 -0700)]
Refactoring of ApkBuilder to prepare for its integration into sdklib.
Change-Id: If75b9262126813769537435546be0ad4e4648ac2
Raphael Moll [Tue, 15 Jun 2010 23:01:33 +0000 (16:01 -0700)]
Merge "SdkManager: don't user versionName for new platform packages."
Xavier Ducrohet [Tue, 15 Jun 2010 19:39:43 +0000 (12:39 -0700)]
Move jarutils into sdklib.
Change-Id: Ic99564a7671e588bbf6bc9ee08f7ae1f02a6dcb2
Raphael Moll [Tue, 15 Jun 2010 22:26:44 +0000 (15:26 -0700)]
SdkManager: don't user versionName for new platform packages.
Change-Id: I56f0a619a5b050c65843730a4fe86a50b3c127ae
Xavier Ducrohet [Mon, 14 Jun 2010 21:45:35 +0000 (14:45 -0700)]
ADT: Multi-apk export action.
This is a first step with no UI.
Still needed:
- handling signing
- add control to how ApkBuilderHelper handles errors to prevent
output to the console during export.
Change-Id: Id44d708c2b0f5bb52508c33a241bbe921b4297e1
Raphael Moll [Tue, 15 Jun 2010 04:07:16 +0000 (21:07 -0700)]
Merge "ADT: Editor for export.properties in export-projects."
Xavier Ducrohet [Tue, 15 Jun 2010 00:10:56 +0000 (17:10 -0700)]
Merge "Saving ProjectProperties now keeps existing file and replaces values."
Raphael Moll [Mon, 14 Jun 2010 22:31:21 +0000 (15:31 -0700)]
ADT: Editor for export.properties in export-projects.
This is an initial framework that needs to be refined.
Change-Id: I2cd8a7708c30826075de076d2b5826ed8af77eb9
Xavier Ducrohet [Mon, 14 Jun 2010 17:29:49 +0000 (10:29 -0700)]
Saving ProjectProperties now keeps existing file and replaces values.
Change-Id: I15663980f931e0d15998f0430ee7154446036fca
Xavier Ducrohet [Mon, 14 Jun 2010 19:39:15 +0000 (12:39 -0700)]
Merge "Remove debug printfs"
Raphael Moll [Fri, 11 Jun 2010 23:23:02 +0000 (16:23 -0700)]
Merge "Fix adt-tests (broken by last ADT GLE2 AttributeDescriptor change)"
Raphael Moll [Fri, 11 Jun 2010 23:20:40 +0000 (16:20 -0700)]
Merge "ADT: Refactor AndroidEditor into AndroidXmlEditor."
Raphael Moll [Fri, 11 Jun 2010 23:14:49 +0000 (16:14 -0700)]
Fix adt-tests (broken by last ADT GLE2 AttributeDescriptor change)
Change-Id: I7b494743c2b7e8c2bfd6a89cc031f7eb3989ea6c
Xavier Ducrohet [Fri, 11 Jun 2010 21:48:37 +0000 (14:48 -0700)]
Remove debug printfs
Change-Id: I34f2aa0d35c904a421654e320c9bdfc229583fab
Raphael Moll [Fri, 11 Jun 2010 20:32:20 +0000 (13:32 -0700)]
ADT: Refactor AndroidEditor into AndroidXmlEditor.
Next we'll introduce a new AndroidTextEditor base class.
Change-Id: I2cdf4c7cb7a2eec03f7c523294a14f98bfd072f8
Xavier Ducrohet [Fri, 11 Jun 2010 20:30:21 +0000 (13:30 -0700)]
Merge "Refactor most of the ApkBuilder into a separate helper class."
Raphael Moll [Fri, 11 Jun 2010 01:32:57 +0000 (18:32 -0700)]
Merge "ADT GLE2: Access AttributeInfo from groovy scripts."
Brett Chabot [Fri, 11 Jun 2010 01:29:57 +0000 (18:29 -0700)]
Merge "Add a 'removeInstrumentationArg' method to ddms testrunner."
Brett Chabot [Fri, 11 Jun 2010 01:08:50 +0000 (18:08 -0700)]
Add a 'removeInstrumentationArg' method to ddms testrunner.
Change-Id: I85ba17eefbc5550dc2712b28b5d870e233c85058
Xavier Ducrohet [Thu, 10 Jun 2010 22:57:17 +0000 (15:57 -0700)]
Refactor most of the ApkBuilder into a separate helper class.
The Eclipse incremental builder will call the helper, as will
the multi-apk export code (that is not an Eclipse builder).
Change-Id: Ibac9aff4557232a3fa0033336c5d4d4327ae3883
Xavier Ducrohet [Thu, 10 Jun 2010 23:18:39 +0000 (16:18 -0700)]
Merge "Add icon to export project."
Xavier Ducrohet [Thu, 10 Jun 2010 20:49:38 +0000 (13:49 -0700)]
Merge "Fix library-project link for library whose name isn't a valid path var."
Xavier Ducrohet [Wed, 9 Jun 2010 23:52:53 +0000 (16:52 -0700)]
Fix NPE when comparing project export properties with api split = false.
Change-Id: I1d3135737e7c13503e0fe4e0559c62959014cd83
Xavier Ducrohet [Wed, 9 Jun 2010 18:08:06 +0000 (11:08 -0700)]
Add icon to export project.
Change-Id: Ie858c3d956cc94f2e463c8f461d10697531225bd
Xavier Ducrohet [Wed, 9 Jun 2010 18:26:47 +0000 (11:26 -0700)]
Merge "Add new Android Nature for export projects."
Xavier Ducrohet [Wed, 9 Jun 2010 18:23:57 +0000 (11:23 -0700)]
Fix library-project link for library whose name isn't a valid path var.
Change-Id: I42414bc8d560b57dbd58302a7a00203472a0d937
Xavier Ducrohet [Wed, 9 Jun 2010 17:40:42 +0000 (10:40 -0700)]
Merge "Fix some handling of decimal values in the UI to handle non-en locales."
Xavier Ducrohet [Wed, 9 Jun 2010 00:16:19 +0000 (02:16 +0200)]
Fix some handling of decimal values in the UI to handle non-en locales.
Change-Id: I3f0a7e1152b8c29d02b57c41a80d431ff99e6c2b
Xavier Ducrohet [Wed, 9 Jun 2010 17:20:28 +0000 (10:20 -0700)]
Merge "Add proper comment to multi-apk export build.xml template."
Xavier Ducrohet [Wed, 9 Jun 2010 15:53:15 +0000 (08:53 -0700)]
Add new Android Nature for export projects.
Also, renamed NATURE constant to NATURE_DEFAULT to make
the distinction between the two natures.
Change-Id: I13e83159f7f695822ed94fb2e84e1b760f00f28b
Xavier Ducrohet [Wed, 9 Jun 2010 01:16:36 +0000 (18:16 -0700)]
Add proper comment to multi-apk export build.xml template.
Change-Id: I5a237582fd77be24c032af61d52e26976583fcb9
Raphael Moll [Wed, 9 Jun 2010 04:38:19 +0000 (21:38 -0700)]
ADT GLE2: Access AttributeInfo from groovy scripts.
This CL extracts IAttributeInfo from DeclareStyleable -- this used
to be the metadata extracted from an attribute declared in attrs.xml.
The interface that is now available to groovy scripts lets them
check whether an attribute is a reference, a string, etc. For an
enum or flag that means having access to the defined values too.
In the case of the AbsoluteLayout drop, we use this info to check if
an attribute is a reference. For example when duplicating a
RelativeLayout dropped in an AbsoluteLayout, we need to create new
ids and the RelativeLayout is prone to have inner self-references
that can be automatically adjusted that way.
A large part of the CL is about refactoring the various manually-created
attributes in the Descriptors for resources, XML, and such. In this
case the IAttributeInfo that is made available via the AttributeDescriptor
is not used, but it made sense to keep this consistent in case we want
to expose it later and to avoid having to care about special cases.
Change-Id: Ic02f69bc16f0e549fcac3956ae93b86651c5be3c
Xavier Ducrohet [Tue, 8 Jun 2010 23:34:19 +0000 (01:34 +0200)]
Properly handle float/double in loc control when locale is not en.
String.format uses the decimal point of the current locale which
we don't want since we pass the result to the emulator which expects
decimal point to be '.'
Double.parseDouble does not use the current locale and therefore
failed to read values put in the UI that used a decimal point
that is not '.'
Also simplified the GPS command to use geo fix instead of geo nmea
Change-Id: I275018e6a967c3d4fa37f25a149a840350e40bb8
Xavier Ducrohet [Tue, 8 Jun 2010 21:43:07 +0000 (14:43 -0700)]
Merge "Enforce english formatting for the geo string sent to the emulator."
Xavier Ducrohet [Tue, 8 Jun 2010 18:44:11 +0000 (20:44 +0200)]
Enforce english formatting for the geo string sent to the emulator.
Change-Id: I1fc90e332fff41e40d2fce740bce8e07d88586ce