0

When I open a link to an android device, should open message app with a phone number and some content.

How I can do it,I know that I need use a deep link,but can you help me? I already do it for ios device but I can't do it for android.

code for IOS :

<script type="text/javascript">
        setTimeout('Redirect()',10);
        function Redirect()
        {
             location.href = 'sms:1-408-555-1212&body=VASKA SMURFIC';
        }
</script>

I try using deep ling, but i can't find example for message app

Thank you)

WitVault
  • 23,445
  • 19
  • 103
  • 133
Oleg Stefaniv
  • 79
  • 1
  • 6
  • Possible duplicate of [launch sms application with an intent](http://stackoverflow.com/questions/2372248/launch-sms-application-with-an-intent) – Poovizhirajan N Apr 18 '16 at 11:11
  • http://api.ayomobile.com/mconnect/sueno/web_in/?telcoID=1&msg=REG%20SDS this is example work with android. I want include this code in html file,as i do with ios redirect example – Oleg Stefaniv Apr 18 '16 at 12:05
  • I think you need to drop the quotes `'` around your function call, try this: `setTimeout(Redirect(), 10);` – Aziz Apr 20 '16 at 18:59

0 Answers0