@Mohamed_Tamer I am waiting…
@Mohamed_Tamer I have found something regarding this it might help you…
Follow the link below.
please add get dual sim number option…
Thanks for reporting , the permission and the ContactImage bugs got solved.
If yes, then it returns true.
Yes, but the phone number starts with a space and therefore the result is false.
trim to remove this space.
Thanks, i’ve fixed it for both
isGlobal blocks.Also the
getNumberList block, will return the number trimmed.
see this pic
get contacts name block return a value ( the number was saved by name رقمي )
but if use (is in a list ) block with (get phone number list ) retune false
I think this is due to that the extension may return your number with a space at the start or the end of your number, which will cause isInList block to return false. As “my number” isn’t equal to " my number" with a space at the beginning. However , it has been fixed in the next update A work around for now is to trim any space at the beginning or the end of the phone number list the extension returns,ex:
And continue using the TrimmedPhoneNumberList.
I think the reason is not due to the space added at the beginning or the end of the number
Because there are many numbers that give the true value if i used block (is in list ) with phone number list
what about using Do it to find out, what is going on?
use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
@Taifun how r u?
I think I used (do it ), but I will try again
what about enlarging the Do it result window, so we can see that number you are looking for?
most probably you added some spaces or the internaltional dialing code as you did for the number which starts with +20…
Two numbers are saved in one contact as shown
no spaces no country code
How is the second number return false with (GetPhoneNumberList )
and also return a value with GetContactName block ???
Do you see your second phone number ( which is in list block returns false with it ) in the phone number list, the extension returns?
@Mohamed_Tamer yes it returns a value
I have tried it many times, many of saved numbers are returning false with using GetPhonNumberList block
Another number which saved in my contacts