I want to make a toast where it shows "Your message "message" is sent to "contact" and I don't know how to do this, here's my code.
if (phoneNo.length()>0 && message.length()>0)
Toast.makeText(getBaseContext(),
"Your message " + """ + message + """ + "is sent to " + phoneNo,
Toast.LENGTH_SHORT).show();
Use This Simple,
Toast.makeText(getBaseContext(),
"Your message " + "\"" + message + "\"" + " is sent to " +"\""+ phoneNo+"\"",
Toast.LENGTH_SHORT).show();