Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #1 Hi All While testing our app on a stock android phone,usually testing on HTC, we have noticed the following; (We are in Ireland) Using StartActivity(svc_phone.mPhone.Call(APPSET.voiceNum) ) where APPSET.voiceNum = 087xxxxxxx, the Dialer is loaded but no call is made. However if APPSET.voiceNum = 0035387xxxxxxx the dialer loads and makes the call. Is this a bug in Android or normal behavour. Is there another way to make the call using reflection etc. Regards John.
Hi All While testing our app on a stock android phone,usually testing on HTC, we have noticed the following; (We are in Ireland) Using StartActivity(svc_phone.mPhone.Call(APPSET.voiceNum) ) where APPSET.voiceNum = 087xxxxxxx, the Dialer is loaded but no call is made. However if APPSET.voiceNum = 0035387xxxxxxx the dialer loads and makes the call. Is this a bug in Android or normal behavour. Is there another way to make the call using reflection etc. Regards John.
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2014 #2 The call intent is the standard way to make calls. Is this number an emergency number? Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #3 Hi Erel, no, it's a normal mobile number, 087xxxxxxx, but when you change it to 0035387xxxxxxx it works, I have been playing the the intent methods and get the same results, android.intent.action.CALL. It's really strange. Upvote 0
Hi Erel, no, it's a normal mobile number, 087xxxxxxx, but when you change it to 0035387xxxxxxx it works, I have been playing the the intent methods and get the same results, android.intent.action.CALL. It's really strange.
Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #4 Android 4.1.2 is the version that this occurs on Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2014 #5 Similar issue: http://stackoverflow.com/questions/...t-doesnt-start-call-directly-when-dialing-190 Have you checked the unfiltered logs? Upvote 0
Similar issue: http://stackoverflow.com/questions/...t-doesnt-start-call-directly-when-dialing-190 Have you checked the unfiltered logs?
Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #6 Just tried that, I'm not getting any unfiltered log data, I have seen this before on other devices we have tested on. I use wireless connection to devices. Last edited: Jun 12, 2014 Upvote 0
Just tried that, I'm not getting any unfiltered log data, I have seen this before on other devices we have tested on. I use wireless connection to devices.
Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #7 If anyone else reads this post please try this on your device(if you have time) and post the results here with Make/Model and OS version. Many thanks. Upvote 0
If anyone else reads this post please try this on your device(if you have time) and post the results here with Make/Model and OS version. Many thanks.
KMatle Expert Licensed User Longtime User Jun 12, 2014 #8 Could you make a small Test-APK with your code (one Edittext to enter the number)? I would test that here in Germany with 4.4, 4.3 and 4.2. (with 0049171xxx vs. 0171xxx) If found some funny reports about the internal behaviour of the dialers in some countries. Perhaps this is in relation to the internal country-code of the Android build (perhaps it is UK?) https://code.google.com/p/android/issues/detail?id=23798 Upvote 0
Could you make a small Test-APK with your code (one Edittext to enter the number)? I would test that here in Germany with 4.4, 4.3 and 4.2. (with 0049171xxx vs. 0171xxx) If found some funny reports about the internal behaviour of the dialers in some countries. Perhaps this is in relation to the internal country-code of the Android build (perhaps it is UK?) https://code.google.com/p/android/issues/detail?id=23798
Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #9 Hi Klaus I have made a simple app that has 2 phone inputs (save you typing), I have also included the source. I look forward to hearing the results from you, and anyone else please take part in this as I believe it will benefit the greater good of the B4A community. Attachments test_phone_dial.apk test_phone_dial.apk 129.6 KB · Views: 279 test_phone_dial.zip test_phone_dial.zip 7.9 KB · Views: 260 Upvote 0
Hi Klaus I have made a simple app that has 2 phone inputs (save you typing), I have also included the source. I look forward to hearing the results from you, and anyone else please take part in this as I believe it will benefit the greater good of the B4A community.
KMatle Expert Licensed User Longtime User Jun 12, 2014 #10 I've done a quick check with the apk on my S4 Kitkat 4.4: Question: What is the difference (logic) between local and international in your app? Anyway. Both fields work as expected (dialer comes up and starts the call at once). I've testet with a mobile number and a landline (both with and without country code 0049 for Germany) in both fields. All numbers used (in both fields!) 0223756xxxxx (landline) 0049223756xxxxx and +49223756xxxxx(same but int.) 017716xxxxx (mobile) 004917716xxxxx and +4917716xxxxx (same but int.) I will try 4.3 and 4.2 the next days but I don't know if this makes a difference. Upvote 0
I've done a quick check with the apk on my S4 Kitkat 4.4: Question: What is the difference (logic) between local and international in your app? Anyway. Both fields work as expected (dialer comes up and starts the call at once). I've testet with a mobile number and a landline (both with and without country code 0049 for Germany) in both fields. All numbers used (in both fields!) 0223756xxxxx (landline) 0049223756xxxxx and +49223756xxxxx(same but int.) 017716xxxxx (mobile) 004917716xxxxx and +4917716xxxxx (same but int.) I will try 4.3 and 4.2 the next days but I don't know if this makes a difference.
Jmu5667 Well-Known Member Licensed User Longtime User Jun 13, 2014 #11 Hi Klaus There is no difference between the dial buttons, it's just for easy of use to save you having to edit a single field. I have the issue on 4.1.2 with the local (non international) number. I have ordered some phones on eBay with older versions of Android, need them for testing anyway. It's a shame there is not a section in the forms for capturing this kind of information, a Knowledge base would be great (Erel ). Thanks for being involved Klaus. Regards John. Upvote 0
Hi Klaus There is no difference between the dial buttons, it's just for easy of use to save you having to edit a single field. I have the issue on 4.1.2 with the local (non international) number. I have ordered some phones on eBay with older versions of Android, need them for testing anyway. It's a shame there is not a section in the forms for capturing this kind of information, a Knowledge base would be great (Erel ). Thanks for being involved Klaus. Regards John.