tigrot Well-Known Member Licensed User Longtime User Dec 23, 2015 #1 Hi Everybody, my testers told me that my APP (using StartActivity(pc.Call(ntel))) asks to chose between Whatsapp and the Dialer. Is there a way to instruct the phone to use the standard Dialer, instead of showing the selection screen and bypass it? Thank you Mauro
Hi Everybody, my testers told me that my APP (using StartActivity(pc.Call(ntel))) asks to chose between Whatsapp and the Dialer. Is there a way to instruct the phone to use the standard Dialer, instead of showing the selection screen and bypass it? Thank you Mauro
tigrot Well-Known Member Licensed User Longtime User Dec 23, 2015 #2 To better explain: How to "set default stock dialer programmatically" I have already done manually, but it's not easy to explain to customers! Upvote 0
To better explain: How to "set default stock dialer programmatically" I have already done manually, but it's not easy to explain to customers!
Erel B4X founder Staff member Licensed User Longtime User Dec 24, 2015 #3 This code will print the component names of all dialers: B4X: Dim pm As PackageManager Dim in As Intent in.Initialize(in.ACTION_CALL, "tel:") Dim dialers As List = pm.QueryIntentActivities(in) Log(dialers) The first one is considered the best match, so there is no guarantee that it is the stock dialer. Upvote 0
This code will print the component names of all dialers: B4X: Dim pm As PackageManager Dim in As Intent in.Initialize(in.ACTION_CALL, "tel:") Dim dialers As List = pm.QueryIntentActivities(in) Log(dialers) The first one is considered the best match, so there is no guarantee that it is the stock dialer.
tigrot Well-Known Member Licensed User Longtime User Dec 24, 2015 #4 Thank you very much. Happy Christmas, if you celebrate... Upvote 0
tigrot Well-Known Member Licensed User Longtime User Dec 24, 2015 #5 By the way. This is a useful way to know if there are multiple dialers. Is There a way to set the default one instead of asking the customer? Thank you Mauro Upvote 0
By the way. This is a useful way to know if there are multiple dialers. Is There a way to set the default one instead of asking the customer? Thank you Mauro
DonManfred Expert Licensed User Longtime User Dec 24, 2015 #6 tigrot said: Is There a way to set the default one instead of asking the customer? Click to expand... No. It´s the users device and HE may asked. And he need to set another one if he prefer. Or even not. It is a Android decision. Upvote 0
tigrot said: Is There a way to set the default one instead of asking the customer? Click to expand... No. It´s the users device and HE may asked. And he need to set another one if he prefer. Or even not. It is a Android decision.
tigrot Well-Known Member Licensed User Longtime User Dec 27, 2015 #7 Nothing dramatic as Apple "drastic" decisions... I have almost stopped developing on IOS 'cause amost nothing is feasable... Upvote 0
Nothing dramatic as Apple "drastic" decisions... I have almost stopped developing on IOS 'cause amost nothing is feasable...