Customize default dialog of GoogleApiAvailability

1

Hi, I have this method that checks if GooglePlayServices exist on the device:

public static boolean isGooglePlayServicesAvailable(Activity activity) {
    GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.getInstance();
    int status = googleApiAvailability.isGooglePlayServicesAvailable(activity);
    if(status != ConnectionResult.SUCCESS) {
        if(googleApiAvailability.isUserResolvableError(status)) {
            googleApiAvailability.getErrorDialog(activity, status, 2404).show();
        }
        return false;
    }
    return true;
}

Is there any way to modify that default dialog that creates you?

I know I could create my own dialog but I would like to know if you could modify the one that creates you by default, for example, change the information text and the text of the button

    
asked by borjis 15.11.2016 в 10:42
source

0 answers