Sebastjan Member Licensed User Longtime User Jun 7, 2018 #1 hey guys.. have a problem: i try to redirect (or forward) phone calls. the redirection string if i enter it on the phone is like: *21*987654321# cancel redirection string is like #21# i use this VBA code: Code: Copy Dim pc As PhoneCalls StartActivity(pc.Call("*21*987654321#")) the code dials the sequence except the last # char ... and call fails. Anyone got a solution? i tried: 2 phones (samsung and huawei) double ## on the end escaping # character ( \#) .... and .. noup, no go. still dials all but # hellp please.
hey guys.. have a problem: i try to redirect (or forward) phone calls. the redirection string if i enter it on the phone is like: *21*987654321# cancel redirection string is like #21# i use this VBA code: Code: Copy Dim pc As PhoneCalls StartActivity(pc.Call("*21*987654321#")) the code dials the sequence except the last # char ... and call fails. Anyone got a solution? i tried: 2 phones (samsung and huawei) double ## on the end escaping # character ( \#) .... and .. noup, no go. still dials all but # hellp please.
DonManfred Expert Licensed User Longtime User Jun 7, 2018 #3 Sebastjan said: i use this VBA code Click to expand... There is no such thing. The language is B4X. The code is B4A Code. Upvote 0
Sebastjan said: i use this VBA code Click to expand... There is no such thing. The language is B4X. The code is B4A Code.
Sebastjan Member Licensed User Longtime User Jun 7, 2018 #4 thank you for solving my problem. you just got donated 10$ Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 8, 2018 #5 Try this: Code: Copy Dim su As StringUtils StartActivity(pc.Call(su.EncodeURL("*21*987654321#", "utf8"))) Last edited: Jun 10, 2018 Upvote 0
Try this: Code: Copy Dim su As StringUtils StartActivity(pc.Call(su.EncodeURL("*21*987654321#", "utf8")))
Sebastjan Member Licensed User Longtime User Jun 8, 2018 #6 Erel.... first it generated error on "ut8" ... but "utf8" WORKED ... THANK YOU! Upvote 0