I'm getting an illegal argument exception when trying to convert a
coordinate in degrees:minutes:seconds.decimal format with the minute
value is 59 and the seconds is greater than 0.  I think the function
compares seconds and they must be less than 59, where they should be
less than 60.

Here is the error with the coordinate:

05-13 22:27:57.071: ERROR/AndroidRuntime(3924): Caused by:
java.lang.IllegalArgumentException: coordinate=30:26:59.5644
05-13 22:27:57.071: ERROR/AndroidRuntime(3924):     at
android.location.Location.convert(Location.java:249)

Please let me know if this is a bug or a feature :-)

thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to