I read the official docs and it confuses me. What is difference between
GooglePlayServicesRepairableException
and GooglePlayServicesNotAvailableException
. When they are thrown? How to handle these errors? How to show a dialog to user, where he can enable/update/install the services. e.t.c.
private void startLocationPicker() {
try {
new PlacePicker.IntentBuilder().build(this);
} catch (GooglePlayServicesRepairableException e) {
} catch (GooglePlayServicesNotAvailableException e) {
}
}