UNICEF-Youth-Section/Locast-Android — Issue #5: new location finder uses hard-coded provider names
Author: xxv
Created: 2012-01-13 21:05:55+00:00
State: open
Labels: bug

The new location finder in CastEdit uses hard-coded LocationManager.GPS_PROVIDER and such. This will cause the app to crash on devices that don't have the given provider. Instead, the providers should be discovered using location criteria. If we want to ensure that there's GPS, we can do that by checking that it's there, but we shouldn't just assume it is.