Bug 24802 - Problem with GPS-Coordinates and non-english locale
Summary: Problem with GPS-Coordinates and non-english locale
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Android Player
Classification: Xamarin
Component: Player ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-11-25 09:27 UTC by Benedikt Hübschen
Modified: 2015-01-15 08:42 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
demonstration video (643.12 KB, video/quicktime)
2014-11-25 09:39 UTC, Benedikt Hübschen
Details
Log (681.81 KB, application/octet-stream)
2014-12-03 10:39 UTC, Benedikt Hübschen
Details
Google-Maps -> XAP Lat/Lon (17.29 KB, application/x-gzip)
2014-12-16 18:59 UTC, Benedikt Hübschen
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Benedikt Hübschen 2014-11-25 09:27:54 UTC
I'm running OSX Yosemite with german as default langugage.
XAP displays the GPS-Coordinates with "," as decimal delimiter.

* If i enter 47,112 -> the app just receives 47.
* If i enter 47.112, XAP reset's to the previous value
Comment 1 Benedikt Hübschen 2014-11-25 09:39:06 UTC
Created attachment 8864 [details]
demonstration video
Comment 2 Mark Simpson 2014-12-03 10:32:28 UTC
Can you confirm the version of XAP that you are using and also attach the relevant log file from /Library/XAP/Log
Comment 3 Benedikt Hübschen 2014-12-03 10:39:31 UTC
Created attachment 8951 [details]
Log
Comment 4 Benedikt Hübschen 2014-12-03 10:40:25 UTC
Version 0.0.25 (1)
Comment 5 Benedikt Hübschen 2014-12-03 10:45:30 UTC
Executing command: /Applications/Xamarin Android Player.app/Contents/Resources/Xamarin Android Player.app/Contents/MonoBundle/../Resources/adb -s 10.71.34.101:5555 shell setprop xapd.gps.status enabled
Executing command: /Applications/Xamarin Android Player.app/Contents/Resources/Xamarin Android Player.app/Contents/MonoBundle/../Resources/adb -s 10.71.34.101:5555 shell setprop xapd.gps.latitude 47
Executing command: /Applications/Xamarin Android Player.app/Contents/Resources/Xamarin Android Player.app/Contents/MonoBundle/../Resources/adb -s 10.71.34.101:5555 shell setprop xapd.gps.status enabled
Executing command: /Applications/Xamarin Android Player.app/Contents/Resources/Xamarin Android Player.app/Contents/MonoBundle/../Resources/adb -s 10.71.34.101:5555 shell setprop xapd.gps.longitude 15
Comment 6 Will Schaller 2014-12-16 11:27:48 UTC
This has been fixed in version 0.1.1
Comment 7 Benedikt Hübschen 2014-12-16 15:49:50 UTC
Issue is NOT fixed in 0.1.1

Longitude accepts "11,9", but executes:
Executing command: /Users/systemiya-apple/Library/Developer/Xamarin/android-sdk-macosx/platform-tools/adb "-s" "10.71.34.101:5555" "shell" "setprop" "xapd.gps.longitude" "119"

Longitude does NOT accept "11.9" -> reset's the textbox to the old value

Latitude accepts neither "11.9" nor "11,9" -> reset's the textbox to the old value

integers will be accepted from both
Comment 8 Benedikt Hübschen 2014-12-16 18:59:27 UTC
Created attachment 9093 [details]
Google-Maps -> XAP Lat/Lon

Maybe you could integrate something like this (i think it would be also a large improvement for other developers)
Comment 9 Will Schaller 2014-12-17 06:28:00 UTC
Interesting, thanks Benedikt. It was working in our testing but we will investigate more.

We do plan on adding map support later on as well :)
Comment 10 Benedikt Hübschen 2014-12-18 04:10:46 UTC
you're welcome to reproduce with teamviewer on my system :)
Comment 11 Mark Simpson 2014-12-18 04:21:46 UTC
We have been able to reproduce this now and are investigating a fix.
Comment 12 Will Schaller 2015-01-15 08:42:00 UTC
This is fixed in update 0.2.5