Phone Number Tools

Phone Tools Extension
Permissions required : READ_CONTACTS
Min. api : 5
Release date : 2020-09-20T23:00:00Z
Last update date : 2020-09-20T23:00:00Z
Current version : 1.0

Description

Hello every one.Today i introduce my latest extension.Phone NumberTools :grin: !This extension allows you to do some calculations with phone numbers, get contact names,images,and phone numbers list in order.Without mismatching!

Blocks picture

Documentation

Block Description
Dragged This event is fired when the extension gets the contacts image list async.

Params Type Description
list List The list of contacts images.

RegisterAsDraggable This event is fired when the extension gets the contacts name list async.

Params Type Description
list List The list of contact names

Unregister This event is fired when the extension gets the contacts phone list async.

Params Type Description
list List The list of contatcs phone numbers.

SetElevationShadow Compare phone numbers a and b, return true if they're identical enough for caller ID purposes.


Params Type Description
Num1 String the number which will be compared with num2
Num2 String the number which will be compared with num1

SetElevationShadow Format a phone number.


Params Type Description
num String the number which will be compared with num2
defaultCountryIso String the country iso which will be used if there was no country iso

SetElevationShadow Returns the contact image from phone number.This phone number must be defined in the user contacts.The result will be a content uri.


Params Type Description
number String The number that the extension will get its image

SetElevationShadow Returns the contact name from phone number.This phone number must be defined in the user contacts.T


Params Type Description
number String The number that the extension will get its image

SetElevationShadow Returns the contact uri from phone number.This phone number must be defined in the user contacts.T


Params Type Description
number String The number that the extension will get its image

SetElevationShadow Gets contacts image list.


SetElevationShadow Gets the Contacts images asynchronously.


SetElevationShadow Gets the Contacts names asynchronously.


SetElevationShadow Gets the Contacts names list asynchronously..


SetElevationShadow Gets the Contacts names list.


SetElevationShadow Gets the Contacts names list asynchronously.


SetElevationShadow Gets the Contacts phones list.


SetElevationShadow Gets the Contacts phones list asynchronously.


SetElevationShadow Returns true if the phone number is a global number.


Params Type Description
number String The number that the extension will use to determine if its a global number.

SetElevationShadow Returns true if the phone number is a valid phone number.


Params Type Description
number String The number that the extension will validate.

SetElevationShadow checks a given number against the voicemail number provided by the RIL and SIM card.


Params Type Description
num String The number that the extension will check if it is a voice mail.

SetElevationShadow Return true if the network portion of address is, as far as we can tell on the device, suitable for use as an SMS destination address.


Params Type Description
num String The adderess that the extension will validate.Ex:[email protected]

SetElevationShadow Normalize a phone number by removing the characters other than digits.


Params Type Description
num String The number the extension will normalize.

SetElevationShadow Returns the contact id from phone number.This phone number must be defined in the user contacts.


Params Type Description
num String The number the extension will get its contact id.

Downloads

AIX: Click to download
AIA: PhoneNumberTools.aia (21.5 KB)
AIS: PhoneNumberTools_Screen1.ais (5.5 KB)
APK:PhoneNumberTools.apk (5.4 MB)

Credits

Thanks for reading! :slightly_smiling_face:
If you liked this extension please hit the like button :heart: And if you’ve an improvements or bugs please tell me :grinning:

Regards,
Mohamed Tamer

29 Likes

Nice Extension.
Very helpful.
Keep it up :clap:

2 Likes

Great work again! :+1::100:

It seems that you like my table format documentation

2 Likes

Thanks very much @sonumohammad333 @WatermelonIce

Yes i like it.I’ve edited it for this extension :sweat_smile: Again thanks for it :heart:

4 Likes

Great
Very helpful man :ok_hand::heart:

2 Likes

very nice work @Mohamed_Tamer

but have some suggestion if you could implement those
their are multiple duplicate contacts with spaces if you remove all spaces and check and remove duplicate entries then it will be more helpful

any way you have done a grate work

2 Likes

Thanks very much :heart:

You mean something like that:
component_method (70)
Its in the list utilities extension :wink:

2 Likes

i thought it was in your extension bit will try it too

and it will remove duplicate entries but not spaces for that we have to set some blocks

Is it possible implement this both feature in your extension?

and just found some thing more some contacts stats with 0 and contains - and some only contains - in number

2 Likes

Yes , i will try :wink:

2 Likes

Nice Extension :cowboy_hat_face:

Waiting for your next Extension :grin:

3 Likes

Thanks :sweat_smile:

That what i’m working on now :shushing_face:

3 Likes

looking forward to have a image cropper extension from @Mohamed_Tamer as of now their is no clear and non lengthy solution like deephost but that was not working now.

1 Like

Great extension @Mohamed_Tamer :+1:t2:

1 Like

Hi if I am using Valid no. block -
image
Do I need the ISD with number ?

1 Like

Both will work.With or without the ISD number :wink:

Thanks for the quick response and btw Gr8 extension.

1 Like

Isn’t this similar to the phone call component?
BTW great work

1 Like

Can i know how?

Thanks :heart:

In the phone call component there is a block for phone number and this is also having it

1 Like

This one?
component_set_get (3)
This won’t return the contacts number list :thinking: