Open Whats contact through href

Asked

Viewed 434 times

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 turn into a intent within the Android Studio, because so in the browser it will open Whats with the mentioned contact, already on Android is hard to find.

1 answer

1

Take a look at documentation Whatsapp, but basically you need to do this way to send a text:

<a href="whatsapp://send?text=Hello%20World!">Hello, world!</a>
  • I need a call via href to androind’s Internet, developing in android studio

  • @Evandroaguiar user that answer to solve your problem.

  • i need to use via site, when accessed via browser of the right, I wanted to see as an Intent opening the contact of Whats by clicking on the link

Browser other questions tagged

You are not signed in. Login or sign up in order to post.