system with whatsapp

 Use this code in on button clicked with add source directry -


//NOTE : please use with country code first 2digits without plus signed 

try {

String mobile = "919999999999; String

//type your message in quotation

msg = "Your message"; startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://api.whatsapp.com/send?phone=" + mobile + "&text=" + msg))); }catch (Exception e){ //whatsapp app not install }


After this again put a add source directry with 


}



just like this

subscribe us on youtube
 https://www.youtube.com/c/NethicalTech

Comments