JackKirk Well-Known Member Licensed User Longtime User Feb 12, 2016 #1 My app rings a phone number in the following fashion: Code: Copy Dim wrk_phone As String 'xxxxxxxxx is the mobile phone number sans leading 0 wrk_phone = "*31%23+61xxxxxxxxx" If App.CanOpenUrl("telprompt:" & wrk_phone) = True Then App.OpenURL("telprompt:" & wrk_phone) End If The *31%23 or *31# is to override any caller ID barring the phone may have turned on. The +61 is the country code (Australia). When the app is launched I get the telprompt screen showing the number as *31#+61xxxxxxxxx and giving me options of [Cancel] and [Call]. If I tap [Call] I get no response. The following does work: wrk_phone = "+61xxxxxxxxx" wrk_phone = "0xxxxxxxxx" Dialing *31#+61xxxxxxxxx on the phone app keypad Looks like I may have hit another iOS nannystate wall. Does anyone have a solution? BTW a similar construct works fine in the B4A version of the app. Thanks in anticipation... Last edited: Feb 12, 2016
My app rings a phone number in the following fashion: Code: Copy Dim wrk_phone As String 'xxxxxxxxx is the mobile phone number sans leading 0 wrk_phone = "*31%23+61xxxxxxxxx" If App.CanOpenUrl("telprompt:" & wrk_phone) = True Then App.OpenURL("telprompt:" & wrk_phone) End If The *31%23 or *31# is to override any caller ID barring the phone may have turned on. The +61 is the country code (Australia). When the app is launched I get the telprompt screen showing the number as *31#+61xxxxxxxxx and giving me options of [Cancel] and [Call]. If I tap [Call] I get no response. The following does work: wrk_phone = "+61xxxxxxxxx" wrk_phone = "0xxxxxxxxx" Dialing *31#+61xxxxxxxxx on the phone app keypad Looks like I may have hit another iOS nannystate wall. Does anyone have a solution? BTW a similar construct works fine in the B4A version of the app. Thanks in anticipation...
JackKirk Well-Known Member Licensed User Longtime User Feb 12, 2016 #2 When I posted the above it immediately suggested a similar thread of Hide Phone Number (and which, rather weirdly, has subsequently disappeared as a similar thread). Frustrating after having spent a good hour searching. When you follow Erels response in that thread you end up at: http://stackoverflow.com/questions/3554605/call-to-a-number-which-contain-iphone-sdk Which pretty well answers the question. Last edited: Feb 12, 2016 Upvote 0
When I posted the above it immediately suggested a similar thread of Hide Phone Number (and which, rather weirdly, has subsequently disappeared as a similar thread). Frustrating after having spent a good hour searching. When you follow Erels response in that thread you end up at: http://stackoverflow.com/questions/3554605/call-to-a-number-which-contain-iphone-sdk Which pretty well answers the question.