Given my code below.I want to convert the title "Please wait for the call to be activated" to hindi(font which i have given in assets folder)..
public ShakeEventsListener(Context context, OnShakeListener mShakeListener) {
        this.context = context;
        this.mShakeListener = mShakeListener;
        startTime = 0;
        movecount = 0;
        elapsedTime = 0;
        pDialog = new ProgressDialog(context);
        pDialog.setTitle(" Please wait for the call to be activated");
        pDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
        complexPreferences = MyApplication.getComplexPreference();
    }
 
                        
By overrideing the setOnShowListner of the DialogInterface.This interface listner is invoked before the dialog is shown.`
Reference Link:How to get the title id of the AlertDialog?