This is a Phone Picker "control" to help you, user of App Inventor! Use this to be able to make the Phone Picker work on Samsung Devices! More info below. (Unfortunately, this only works with "MinSDK" 5+... (or with 2.0+ android) (sorry about that))
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 , app inventor pick a contact from a phone number , app inventor obter numero do telefone , app inventor contact picker video