Also keep in mind that Asha 303 does not have an integrated GPS receiver.
So if you are attempting to retrieve the location provider using this method:
Code:
lp = LocationProvider.getInstance(criteria);
Asha 303 will attempt to find a Bluetooth GPS receiver. If you cancel the search, it will throw an exception.
Your device supports Cell-ID (network based) location retrieval so you need to retrieve the location provider using LocationUtil:
Code:
lp = LocationUtil.getLocationProvider(methods, null);
More information about this:
a) Example for retrieving location with a GPS module
b) Example for retrieving location with Cell-Id (Network based)
c) Developer's Guide on Location