As you know using the whatsapp url scheme on iphone i can create the following link:
href="whatsapp://send?text=blahblah"
this is possible due to the url scheme support on ios.
im try to create the similar effect for android devices. (but no threw android app, just a normal html page).
to my understanding it should be something like:
href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;s.text=test;end;"
or:
href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;text=test;
action=android.content.Intent.ACTION_SEND; end"
or:
href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;text=test;
category=android.intent.category.BROWSABLE;end"
as you can see im really groping in the dark. all the answers i've found on stackoverflow are talking about how to generate the intent threw the android app.
BUT thats not my case, i want to generate an href on a PHP/ASP server for an html page.
someone? thanks!
whatsapp now officially support url scheme over Android(Yey)!
<a href="whatsapp://send?text=Hello%20World!">Hello, world!</a>
for more details visit http://www.whatsapp.com/faq/en/android/28000012