Page 1 of 1
Special Chars in Launch URL "tel:?????"
Posted: Mon Feb 11, 2013 8:24 am
by doobox
Hi there,
Is there a workaround to having Astrix, and hash for example in a number you want the dialer to launch on ios..?
Using
launch url "tel:*#101#"
or
launch url "tel:" & numToChar(32) & numToChar(35) & "100" & numToChar(35)
Neither work.
Re: Special Chars in Launch URL "tel:?????"
Posted: Mon Feb 11, 2013 9:40 am
by jmburnod
Hi doobox,
Maybe with urlencode ?
Code: Select all
get urlencode("tel:*#101#")
launch url it
best regards
Jean-Marc
Re: Special Chars in Launch URL "tel:?????"
Posted: Mon Feb 11, 2013 10:49 am
by doobox
Thank's but that does not work either.
Re: Special Chars in Launch URL "tel:?????"
Posted: Mon Feb 11, 2013 7:28 pm
by jacque
Maybe put the number into a variable first?
get "#101#"
launch url "tel:" & it
If that doesn't work, note that numToChar(32) is a space, so if it wasn't a typo, maybe your concatenation example just needs a different ascii code. Ascii 42 is an asterisk.
Re: Special Chars in Launch URL "tel:?????"
Posted: Tue Feb 12, 2013 4:22 pm
by LCNeil
Dear doobox,
Using special chars in a launch url is not posible. This is a restriction put in place by Apple to prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account.
Neil Roger
--
RunRev Support Team ~ h t t p ://w w w . runrev . c o m
Support Open Source LiveCode on Kick-starter
h t t p : //w w w . kickstarter .c o m/projects/1755283828/open-source-edition-of-livecode
--