tel on android

You must Login before you can answer or comment on any questions.

hi, i have this code :

if(codeConfidentiel == null || codeConfidentiel == ''){
    Ti.Platform.openURL('tel:' + passerelle + ',' + number + '#');
}
else{
    Ti.Platform.openURL('tel:' + passerelle + ',' + codeConfidentiel + '#,' + number + '#');
}
on iphone it is ok but on android, in the first case, "passerelle + ',' + number" is called and in the second case, only passerelle + ',' + codeConfidentiel is called.

it seems that # and string after is ignored

can anyone help please ?

— asked 12 months ago by Djamel ZAHAL
3 Comments
  • Hi Djamel,

    can you paste some examples here with phone number?

    that can causes an error or bug.

    — commented 12 months ago by Gaurang Chhatbar

  • yes, for example if passerelle = 12345 and codeConfidentil is null i will have : 12345,06666666

    if code confidentiel = 123 i will have : 12345,123

    thank you for your response

    — commented 12 months ago by Djamel ZAHAL

  • 06666666 is the number

    — commented 12 months ago by Djamel ZAHAL

Your Answer

Think you can help? Login to answer this question!