How to use platformRequest to initiate a call involving special chars eg * or #
Example:
platformRequest("tel:*123#");
Or any alternative to platformRequest please.
Details:
Nokia N70
CLDC 1.0
MIDP 2.0
How to use platformRequest to initiate a call involving special chars eg * or #
Example:
platformRequest("tel:*123#");
Or any alternative to platformRequest please.
Details:
Nokia N70
CLDC 1.0
MIDP 2.0
Well since platformRequest()
accepts URL string as its argument, my guess is that the characters in that string argument must be URL encoded.
So, since the "*"
is not a reserved character, it can stay that way. But the "#"
must be encoded like "%23"
because it is an "unsafe character".
And my guess is that this would work:
platformRequest("tel:*666%23");
Or you can URL encode *
as well:
platformRequest("tel:%2A666%23");