Select to view content in your preferred language

Trouble with geolocation on Arcgis.com mobile version

1024
4
Jump to solution
02-23-2012 07:25 AM
EricDaniel
Deactivated User
I'm having trouble getting the geolocation/GPS feature to work when accessing the mobile version of arcgis.com with my android device.  It allows me to click it and shows in blue like it's activated but it won't show any indication of where I'm at relative to the map I'm viewing.  Also, it never asks if it can use my location information.  The browser settings shows to make location available.  The device I'm using is a Samsung Galaxy player running Android 2.3.  I know the GPS works, since the ArcGIS Android apps works fine with it and shows the the location just fine.  It's just this mobile web version that has trouble.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
EricDaniel
Deactivated User
Those sites failed as well but I found a fix.  So on the android device I went to Settings and then Location and security.  I only had "Use GPS satellites" checked.  Once I checked "Use wireless networks", I was then asked if my location could be used and when I clicked allow, it then zoomed to my current location and showed me.  It was showing this same behavior on all geolocation web sites from within the browser.   I imagine others may run into this problem if they have that setting unchecked.  My guess is it's struggling to find the GPS satellites and thus shows nothing. 

Thanks again for your help.

View solution in original post

0 Kudos
4 Replies
MikeMinami
Esri Notable Contributor
Hmmmm....

Can you try this app on your phone to see if it works?

http://help.arcgis.com/en/webapi/javascript/arcgis/demos/exp/exp_geolocate.html

Thanks,

Mike
0 Kudos
EricDaniel
Deactivated User
That is not working either for this particular device.  It just says "Current location not available".  This particular Android device is not actually a phone but rather more a ipod type device but does have an actual GPS.  So maybe that has something to do with why both sites are not working for this device.
0 Kudos
MikeMinami
Esri Notable Contributor
How about trying these non-esri apps...do they work?

http://html5demos.com/geo

http://benwerd.com/lab/geo.php

This will help us tell if it's our app or the device.

Thanks,

Mike
0 Kudos
EricDaniel
Deactivated User
Those sites failed as well but I found a fix.  So on the android device I went to Settings and then Location and security.  I only had "Use GPS satellites" checked.  Once I checked "Use wireless networks", I was then asked if my location could be used and when I clicked allow, it then zoomed to my current location and showed me.  It was showing this same behavior on all geolocation web sites from within the browser.   I imagine others may run into this problem if they have that setting unchecked.  My guess is it's struggling to find the GPS satellites and thus shows nothing. 

Thanks again for your help.
0 Kudos