android / location-samples

Multiple samples showing the best practices in location APIs on Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geocoder: getFromLocation --- grpc failed

sanju1989 opened this issue · comments

Geocoder: getFromLocation --- latitude = 28.4241414, longitude = 77.0683885, maxResults = 1

Geocoder: Geocoder getFromLocation --- mService = android.location.ILocationManager$Stub$Proxy@7b6c878, ex = grpc failed, return results = []

public class FetchAddressIntentService extends IntentService {
@OverRide
protected void onHandleIntent(Intent intent) {
Geocoder geocoder = new Geocoder(getApplicationContext(), Locale.getDefault());
}
}