How to ask user for rate the app manually in android

void rateThisApp() { final SweetAlertDialog pDialog = new SweetAlertDialog(HomeActivity.this, SweetAlertDialog.WARNING_TYPE); pDialog.getProgressHelper().setBarColor(R.color.colorPrimaryDark); pDialog.setTitleText(“If you like then please 5 star.”); pDialog.setConfirmText(“Rate 5 star”); pDialog.setConfirmClickListener(sDialog -> { sDialog.dismissWithAnimation();…