Using ActivityStarter…Clicking on a button I want to send a specific WhatsApp msg to a specific contact but it doesn’t work.
This is my code…it seems to work without errors, but in doesn’t write the msg I want with text TextBox… the app open Whatsapp conversation to the specific contact, but doesn’t write automatically the msg I write in the TextBox .
Action >>> android.intent.action.SEND
Activity Package >>> com.whatsapp
DataUri >>>(with JOIN) “smsto:” + “+39” + variable with the number
DataType >>> text/plain
ActivityClass >>> com.whatsapp.Conversation
Extras >>> a list of key/value pair >>>
first >>> android.intent.extra.TEXT
second >>> a Textbox Text from a variable
I also tried to use KIO4Whatsapp extension, and it makes the opposite…it works like a ContactPicker and when I choose the Contact, the text in already filled.
I heard that perhaps Whatsapp doesn’t agree to do that thing ‘cause doesn’t accept external commands…I risk a ban with this, or is there a solution?
Thanks for attention