Curt NORVAL wrote:
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
https://fmwhat.download/) 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.
https://fmapps.orgIs it possible in WinDev Mobile 22?
Thank you in advance.
Add a "Share with a friend" button to your app's user interface.
When the button is clicked, you can use the appropriate WinDev Mobile library or API to open the sharing options.
Depending on the platform (Android or iOS), you can use platform-specific APIs or libraries to open the desired sharing app (e.g., WhatsApp) with a pre-filled text.
Pass the pre-filled text as a parameter to the sharing API or library, which will open the chosen app with the text ready to be shared.
The user can then select a contact or group in the sharing app and send the pre-filled text.