Open contact Whats via href

1
    <a href="intent://send/.  
19994549640#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end">
    <img src="img/whatspng.png">
    </a>

I want to transform into a intent within Android Studio , because so in the browser it will open Whats with the mentioned contact, already in Android is difficult to find .

    
asked by anonymous 28.08.2016 / 05:53

1 answer

1

Read the documentation for Whatsapp, but basically you need to do it this way to send one text:

<a href="whatsapp://send?text=Hello%20World!">Hello, world!</a>
    
28.08.2016 / 06:08