I am trying to implement a feature in my Android app that allows users to initiate WhatsApp voice and video calls directly. However, after trying multiple approaches, I haven’t had any success.
Here’s what I’ve tried so far:
Using WhatsApp’s whatsapp://call?phone= URI to make voice calls.
Unfortunately, none of these methods worked for directly starting a voice or video call.
What I noticed:
I’ve seen some third-party dialer apps that support this feature and can initiate WhatsApp voice/video calls seamlessly. Below is a screenshot from one such app where it works perfectly:
(Attach the screenshot showing the feature from the other app)
My Questions:
- Is there an official or unofficial way to programmatically start WhatsApp voice/video calls directly from an Android app?
- Are there any third-party APIs or libraries available that could enable this functionality?
- If not, is there any workaround or approach I can explore to achieve this?
Any insights or guidance on this would be highly appreciated. Thank you in advance!