Phone Picker for App Inventor
1,000 - 5,000 downloadsAdd this app to your lists
+ By LeoAGomes
To make it work, create a new Activity Starter and set:
"Action" to "android.intent.action.PICK";
"Activity Class" to "com.LeoAGomes.PPAI.PickActivity";
"Activity Package" to "com.LeoAGomes.PPAI".
The phone number should return on "Result Type" (if "ResultType" doesn't work, try "ResultUri").
And now, you can retrive also the name of the contact or it's e-mail address (if exists). You can even get both of them.
To get the name of the contact set "ResultName" to "name", to get the e-mail, set "ResultName" to "email" and to get both of them, set "ResultName" to "both". The contact's name and/or email will return on the "Result" property.
If you chose to get both e-mail and name, the "Result" will result as "," (then, if necessaire, you'll have to find a way to split them).
The next version will have Photo support.
Anyway, I think this may help a lot of people! If it helped, please rate the app! And please, send feedback!
P.S.: The screenshots are from a Galaxy S.
Tags: app inventor contact picker, device chooser, app inventor phone number picker, phone picker test, phone number in app inventor, facebook application app inventor, how to use phone number picker on app inventor, app inventor obter numero do telefone, list picker in app inventor, app inventor pick a contact from a phone number.
Name and e-mail support added. To get them set the "Result" property to "name", "email" or "both" (which will result ",").