-5

my question is, if it is possible to send a whats app message out of an android application, without opening WhatsApp. I already know that i can do something like share and then WhatsApp opens and i have to press send again. But i want to send it automatically out of another application.Without any further user interaction. Thank you for your answers.

Secondwave
  • 225
  • 1
  • 4
  • 17
  • 4
    Dont think whatsapp would allow it.. – Suraj Rao Apr 25 '17 at 09:35
  • If you're trying to make an app like WhatsApp Plus, you should know that WhasApp Plus isn't an app that works alongside the original WhatsApp app. It's a modified version of WhatsApp itself and has features built on top of it. There is no concept of "controlling" an app using another app, that is done using Intents which are handled by applications themselves so it requires them to be invoked. – px06 Apr 25 '17 at 09:40

3 Answers3

2

Fast and short: No, that's not possible.

Even the webapplication of whatsapp (web.whatsapp.com) needs your phone online permanently with a running whatsapp-'app'.

Ronny Kaufmann
  • 446
  • 2
  • 7
1

No You cant. Every application is independent on its own. Even when you're sharing some content via whatsapp what's actually happening is that we're just providing whatsapp an intent with your data. The rest of it is actually took care by whatsapp itself, i.e, what to do with that data.

Aldrin Joe Mathew
  • 472
  • 1
  • 4
  • 13
1

This breaks the Whatsapp ToS. The whatsapp faq says this:

Be aware that the following actions are in violation of our Terms of Service:

Using an automated system or an unauthorized / unofficial client application to send messages through WhatsApp.

The only (legal) way would be to use the sharing method you mentioned, which works through custom url schemes, and this requires user interaction.

There is an app called Whatsapp Scheduler, but looking at the reviews that no longer seems to work, probably because it violated the ToS.

Thom
  • 663
  • 7
  • 19