Closed andygup closed 11 years ago
I had the same problem but when I create a new empty project than copy the code from your sample to my new project I have no longer this problem!
Good to know, thanks!
Fixed in v1.2. Library now detects if provider is enabled and (hopefully) switches appropriately.
V1.0 and v1.1 location code only relies on NETWORK_PROVIDER. In certain areas of Europe this functionality may not be available and it will fail silently resulting in your application crashing immediately upon startup. A work-around is in EsriQuickStart under the setLocationListener() method change out NETWORK_PROVIDER TO GPS_PROVIDER and use _locationService.setAllowNetworkLocation boolean to toggle NETWORK_PROVIDER off, and the LocationService isAllowNetworkLocation() to determine if a NETWORK_PROVIDER is even available.