PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Sharing content through whatsapp or others programs
Sharing content through whatsapp or others programs
Iniciado por Luca Forti, 20,jul. 2017 17:58 - 2 respuestas
Publicado el 20,julio 2017 - 17:58
Hi everyone,
I see a lot of apps that allow to share their content through a lot of other apps (Whatsapp, Gmail, SMS, Copy text into clipboard ...).
We are developing an app and we want to insert a function that work this way:

I press on the "Share with a friend" button and a window popup, you click on Whatsapp (for example) and the chosen app open with a pre-filled text and you can share it with someone. In this case, Whatsapp opens up and you can send the pre-filled text to a friend to send them a link to the app.

Is it possible in WinDev Mobile 22?

Thank you in advance.

Best Regards,
Luca
Publicado el 21,julio 2017 - 15:14
I hope this help someone with the same trouble:

I managed to open WhatsApp via ShellExecute, here's the example:

ShellExecute("whatsapp://send?text=Hello, World!")


This one opens whatsapp with the pre-filled text: Hello, World!
Miembro registrado
56 mensajes
Publicado el 26,mayo 2022 - 18:08
hi luca,

I understand that you are Italian, if you want we have a telegram account, windev Italy so we can exchange info faster.