Hi all,
I am trying to create a app which can determine the user location using ArcGIS.
I understand that using LocationService class can provide the UI support for displaying on the mapview.
here are part of my code.
map = (MapView) findViewById(R.id.map);
ls = new LocationService(map);
ls.start();
ls.setAccuracyCircleOn(true);
ls.setAllowNetworkLocation(true);
Location loc = ls.getLocation();
the app will not display anything and just give me a blank screen whenever i call ls.start() which start the location service.
Did i miss out anything? e.g. like a listener? Anyone has any idea how to get the location service to start?