ArcGIS Android - MapView and GPS

2844
4
07-20-2011 11:38 AM
LosMorales1
New Contributor
Hi,

I noticed that the current ArcGIS for Android API doesn't seem to have any GPS capability (well, for 2.1 level 7).  Looking at the iOS one, there is a lot of GPS functionality built into the API (e.g. MapView).  Is this true, or am I not looking at the right place?  If the former, that means I must use Android's built in GPS functionality.

-los
0 Kudos
4 Replies
PeterrIISAGER
New Contributor
The ArcGIS for Android API support GPS through the com.esri.android.map.LocationService Class

LocationService ls = map.getLocationService();
ls.setAccuracyCircleOn(true);
ls.start();


For me the ESRI LocationService does not work very well - When running the LocationService makes my app crash after some time. I hope this is due to the API being a Beta-version...
0 Kudos
MichaelLiu1
New Contributor
The ArcGIS for Android API support GPS through the com.esri.android.map.LocationService Class

LocationService ls = map.getLocationService();
ls.setAccuracyCircleOn(true);
ls.start();


For me the ESRI LocationService does not work very well - When running the LocationService makes my app crash after some time. I hope this is due to the API being a Beta-version...


I have similar experiences with esri LS - validating codes through Google API's GPS classes mostly..
0 Kudos
DeniseKing
Esri Regular Contributor
ArcGIS for Android App is now available on Android Market
https://market.android.com/details?i....client&rdot=1
0 Kudos
DeniseKing
Esri Regular Contributor
ArcGIS for Android Forums now available,
http://forums.arcgis.com/forums/203-ArcGIS-for-Android

Android related threads in other Forums will be moved to Android Forums in near future.
0 Kudos