Search code examples
windows-phone-7windows-phone-8

Sharing text content to whatsapp in windows phone 7 app


This link below is a article for Windows phone 8

Share content via whatsapp in wp8 apps

I would like to know if the same would work for a Windows phone 7 app or is there any other method to share content to whatsapp.


Solution

  • In Simple Words "NOT POSSIBLE".

    Technically, there is no way by which two independent apps could communicate with each other. This feature is restricted in windows phone operating system right now.

    The link posted in your question has one of the answers like:

    await Windows.System.Launcher.LaunchUriAsync(new Uri("whatsapp:"));
    

    But this is also not the idle solution as it would just launch the app whats app. Note that is isn't going to post the data from the app directly to whatsapp(that's what I wrote in the first line of my answer.) And this partial solution is also possible only in windows phone 8 as URI launchers are supported in wp8 only

    have a look at this

    And check this stack overflow post as well.