Hello @Sirajul_Haque,
Here's an example that uses the GetName block to get the contact names and shows them in a list view, that could have been more simpler if the GetName block was returning the result directly instead of calling an event, unfortunately, that's not possible because it needs to ask for permission first..
When I run the blocks with MTAI2 companion in my mobile then it shows only one contact (number:name). But when I made apk with the blocks and run after installation by pressing "Get Group Contacts" (of course entered valid group name) then it shows "run time error". I used your AIA file directly by importing aia file in my project. I can't solve the problem. Sorry to take your time again and again. Thanks.
1- The extension wasn't working in the compiled APK, since the extension wasn't properly declaring the READ_CONTACTS permission in the app's manifest, and therefore, the permission wasn't requested. (Thanks to @Sirajul_Haque )
New Blocks
1-
Strips separators from a phone number string.
2-
Returns a list of all of the phone numbers in the string given.
3-
Called when an error occurs, with the error and its message, instead of showing an undefined runtime error. It's also called when an empty or invalid input is given.
The updated AIX can be found in the first post
Hi, I have a weird difficulty with this nice extension. It was working great and seems to have just stopped working this afternoon for me. Can't see what happened, the block FormatPhoneNumber just doesn't give anything back any more. I'm trying to convert in phone number format the content of a textbox, it worked great this morning and no more.