1. rahul rana2's Avatar
    Hi All,
    I want to send messages by using my android app to the my WhatsApp member's (My WhatsApp number's and WhatsApp groups). Is it possible or not if It is possible, please give me some directions.

    I have send the messages to the WhatsApp by using...

    Intent intent = new Intent(Intent.ACTION_SEND);
    intent.setType("text/plain");
    String text = "YOUR TEXT HERE";
    PackageInfo info=pm.getPackageInfo("com.whatsapp", PackageManager.GET_META_DATA);
    intent.setPackage("com.whatsapp");
    intent.putExtra("", "");
    intent.putExtra(Intent.EXTRA_TEXT, text);
    startActivity(Intent.createChooser(intent, "Share with"));

    but I want to send messages directly by my android application to WhatsApp.

    please help , your help would be highly appreciated.
    Thanks in advance.

    Regards
    Rahul
    01-28-2015 03:10 AM
  2. belodion's Avatar
    Hello Rahul. If you don't get a reply here, try our Android Developers forum.

    Posted via the Android Central App
    rahul rana2 likes this.
    01-28-2015 10:15 AM

Similar Threads

  1. Replies: 7
    Last Post: 01-03-2017, 01:49 PM
  2. Replies: 1
    Last Post: 01-28-2015, 11:40 AM
  3. why my nexus 5 reboots every 2 seconds?
    By Aakash Amberkhane in forum Google Nexus 5
    Replies: 2
    Last Post: 01-28-2015, 09:32 AM
  4. Replies: 1
    Last Post: 01-28-2015, 03:08 AM
LINK TO POST COPIED TO CLIPBOARD