String url = "https://api.whatsapp.com/send?phone="+number; Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(url)); startActivity(i);