Recent

Author Topic: [LAMW] How to send a Whatsapp message  (Read 549 times)

pasquale

  • Sr. Member
  • ****
  • Posts: 254
    • Esposito Software
[LAMW] How to send a Whatsapp message
« on: January 20, 2021, 02:08:46 pm »
Hello,

Is it possible to send a Whatsapp message using LAMW?

Specifically, I have an editbox with some text inside and a button below. When I click on the button, I would like Whatsapp to open up in order for me to select the addressee and send him or her the same text message.

TIA
« Last Edit: January 20, 2021, 03:15:32 pm by pasquale »
Apple loves breaking backward compatibility to make money. If you want to be sure that your apps will never stop working, use Windows and trash macOS!

Segator

  • Full Member
  • ***
  • Posts: 164
    • https://github.com/Nenirey
Re: [LAMW] How to send a Whatsapp message
« Reply #1 on: January 20, 2021, 04:35:57 pm »
It's posible with an intenmanager, you must know the WhatsApp package name and the paramaters, but the user must by press the send button at end
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

pasquale

  • Sr. Member
  • ****
  • Posts: 254
    • Esposito Software
Re: [LAMW] How to send a Whatsapp message
« Reply #2 on: January 20, 2021, 05:00:21 pm »
It's posible with an intenmanager, you must know the WhatsApp package name and the paramaters, but the user must by press the send button at end

Having to press the Whatsapp send button is not a problem at all.

I don't know what a "WhatsApp package name" is and how to specify that in the code. Do you know where I can find some sample code?

Thanks
Apple loves breaking backward compatibility to make money. If you want to be sure that your apps will never stop working, use Windows and trash macOS!

jmpessoa

  • Hero Member
  • *****
  • Posts: 1791
« Last Edit: January 20, 2021, 10:29:13 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

almsoares

  • New member
  • *
  • Posts: 8

 

TinyPortal © 2005-2018