public static AlertDialog.Builder showUpdateAvailableDialog(final Activity activity){
  return showUpdateAvailableDialog(activity,R.string.you_are_not_updated_title,R.string.you_are_not_updated_message,R.string.yes,R.string.no);
}

public static AlertDialog . Builder showUpdateAvailableDialog ( final Activity activity ) { return showUpdateAvailableDialog ( activity , R . string . you_are_not_updated_title , R . string . you_are_not_updated_message , R . string . yes , R . string . no ) ; }
builds and shows the dialog in case it is not updated
